[systemd-devel] systemd-notify --ready is not reliable

Lennart Poettering lennart at poettering.net
Tue May 20 05:29:53 PDT 2014


On Tue, 20.05.14 10:56, Eelco Dolstra (eelco.dolstra at logicblox.com) wrote:

> 
> Hi,
> 
> On 18/05/14 18:54, Lennart Poettering wrote:
> 
> > Instead of sending the datagram with our own PID in the ucred field we
> > could simply try to override it with our parent's PID. 
> 
> This only works if the service is running as root, right? But yeah, that's
> already an improvement over the current situation :-)

Yupp, this only works with priviliges, but thankfully this should
actually cover most scripts people want to run like this...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list