Re: [PATCH 41/73] policycoreutils: mcstransd: write a pid file FIXME

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

 



On Tue, 2012-03-27 at 11:49 -0400, Daniel J Walsh wrote:
> This patch looks good to me. acked.
> 
> systemd expects a pid file to be written by unit services.

It doesn't if the service is non-forking.  In fact moving to
non-forking services that don't write pid files is a major
improvement that systemd brings over sysvinit, because the
state is 100% reliable.  Pid files create the possibility
of desynchronization if the service crashes, but the pid
file remains.

So a better fix would be to change mcstransd to have a
--no-fork option, and update the unit file to use it.



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux