FS#34760 - [ypbind-mt] ypbind.service should have -no-dbus set by default
Attached to Project:
Arch Linux
Opened by Brian BIdulock (bidulock) - Saturday, 13 April 2013, 00:07 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 16 May 2013, 00:51 GMT
Opened by Brian BIdulock (bidulock) - Saturday, 13 April 2013, 00:07 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 16 May 2013, 00:51 GMT
|
Details
Description:
ypbind-mt checks to see if networkmanager reports the network online before starting. If networkmanager is running and does not report the network online, ypbind hangs. NetworkManager can easily be configured to unmanage ethernet devices, in which case it reports the network offline even when it is online. It is systemd's job to determine the order of startup, not ypbind's. The default yobind.service file should include the -no-dbus option by default so that ypbind will not hang the boot process. Additional info: * package version(s) ALL Steps to reproduce: configure networkmanager in the keyfile to not manage any ethernet macs set ypbind to bind to any domain and enable it reboot |
This task depends upon
It is really related to the other problem. It is an attempt to keep systemd or sysvinit for that matter, from proceeding before ypbind has a chance to bind.
With systemd the ultimate would be to sd_notify() on the first bind to a server. For sysvinit the best would be to stall the parent thread exiting before the first bind. This is how ypbind (no -mt) use to work.
Btw, it would be really great if upstream would ship the correct systemd unit files (in case you were going to write a patch ;-) ).