FS#24843 - Do not start daemons from other daemons
Attached to Project:
Arch Linux
Opened by Tom Gundersen (tomegun) - Thursday, 23 June 2011, 19:02 GMT
Last edited by Tom Gundersen (tomegun) - Friday, 26 August 2011, 14:52 GMT
Opened by Tom Gundersen (tomegun) - Thursday, 23 June 2011, 19:02 GMT
Last edited by Tom Gundersen (tomegun) - Friday, 26 August 2011, 14:52 GMT
|
Details
The only way to start a daemon at boot, should be to list it
in the DAEMONS array.
Recursively starting daemons is unlikely to work as expected. rc.shutdown will not know the ordering dependencies of the automatically started daemons, and will shut them down in the wrong order. In a future release of initscripts, a warning will be printed if this is not fixed in the individual scripts. |
This task depends upon
FS#20903 - [nfs-utils][initscripts] Daemons in DAEMON_DEPENDS
are stopped t
FS#24844 - [avahi] do not start dbus
FS#24845 - [laptop-mode-tools] do not start acpid
FS#24846 - [fam] do not start rpcbind
FS#24847 - [keytouch] do not start acpid
FS#24848 - [hal] do not start dbus or acpid
Closed by Tom Gundersen (tomegun)
Friday, 26 August 2011, 14:52 GMT
Reason for closing: Implemented
Additional comments about closing: Thanks to everyone who helped!
Friday, 26 August 2011, 14:52 GMT
Reason for closing: Implemented
Additional comments about closing: Thanks to everyone who helped!
FS#13872be handled? Shall `/etc/rc.d/avahi start` throw an error message when dbus is not detected? Could you help me understand what directions should thing go?FS#24848:if ! ck_daemon dbus; then
echo "ERROR: Refusing to start hald without dbus running!" >&2
stat_die
fi