Re: systemd/sendmail problem - seeking help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Qui, 2016-05-26 at 18:04 +0100, Sérgio Basto wrote:
> On Qui, 2016-05-26 at 18:02 +0100, Sérgio Basto wrote:
> > 
> > On Qui, 2016-05-26 at 09:06 -0600, Michal Jaegermann wrote:
> > > 
> > > 
> > > On Thu, May 26, 2016 at 10:26:57AM +0100, Timothy Murphy wrote:
> > > ...
> > > > 
> > > > 
> > > > 
> > > > and journalctl has the entry 
> > > > "sendmail.service: PID file /run/sendmail.pid not readable
> > > > (yet?) 
> > > >   after start:  No such file or directory".
> > > See https://bugzilla.redhat.com/show_bug.cgi?id=1057879
> > > from 2014-01-25.  It is somewhat annoying/misleading but it does
> > > not
> > > seem to really affect a sendmail operation and nobody seems to be
> > > in
> > > a
> > > hurry to fix it.  Apparently your problem is somewhere else.
> > yes this is a very old issue , seems harmless , 
> > I even forgot it . 
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=848172#c24 ;
> I will check this post : 
> 
> http://forums.fedoraforum.org/showpost.php?p=1613628&postcount=15

no,  not a good tip .

From 
https://www.freedesktop.org/software/systemd/man/systemd.service.html

"Please set PIDFile= accordingly. Note that the daemon should write
that file before finishing with its initialization. Otherwise, systemd
might try to read the file before it exists."

So it looks like sendmail creates pid file before exit ... (makes sense
since sendmail have 2 processes) , editing
/usr/lib/systemd/system/sendmail.service and comment out PIDFile entry
[1], solves the problem, I don't known if it's worth report it, but
seems still works correctly and don't report any warning.   

[1]
#PIDFile=/run/sendmail.pid


> > 
> > > 
> > > 
> > >    Michal
> > > --
> > > test mailing list
> > > test@xxxxxxxxxxxxxxxxxxxxxxx
> > > To unsubscribe:
> > > https://lists.fedoraproject.org/admin/lists/test@lists.fedoraproj
> > > ec
> > > t.
> > > org
-- 
Sérgio M. B.

--
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://lists.fedoraproject.org/admin/lists/test@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux