Bug#822151: Make rc-local.service Type=idle

Michael Biebl biebl at debian.org
Mon Apr 25 11:08:15 BST 2016


Am 25.04.2016 um 11:00 schrieb Martin Pitt:

>  - Type=idle is similar to Type=simple, i. e. if /etc/rc.local starts
>    long-running stuff in the foreground this is currently not blocking
>    as we use Type=forking. With Type=idle, the unit would be
>    "starting" indefinitely, and services that wait for it would never
>    start (see above).

Hm, the only cases I've seen where users have started long running
processes via /etc/rc.local, they did so via
foo &

After all, /etc/init.d/rc.local does not forcefully background the
script, so it would have been a "hanging" service also under SysV


-- 
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/20160425/3aa007c7/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list