Bug#786443: inhibit while a PID is running

Michael Biebl biebl at debian.org
Sat Jan 30 22:54:28 GMT 2016


Am 30.01.2016 um 02:41 schrieb martin f krafft:
> also sprach Michael Biebl <biebl at debian.org> [2016-01-30 05:54 +1300]:
>> Can you be more specific how you envision this to work? Afaics
>> this is inherently racy, so I'm not sure if it's a good idea to
>> provide such an interface.
> 
> Is it racy?

Sure. Between starting the program, finding out the process ID, starting
systemd-inhibit, there is a potentially a huge window where a suspend
request can happen.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160130/f3a0ca95/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list