Comment 17 for bug 823878

Revision history for this message
yetanotherion (nolaridebi) wrote :

> - "IFACE=eth0": shouldn't "net-device-up" wait for all interfaces to have an ip address ?

>>No. That's the 'static-network-up' event, mentioned above. 'net-device-up' is a per-device event.

I have another question then, for which device does the service wait when 'net-device-up' is used without arguments ?
(as it is in the default smbd.conf)

> - "started nmbd": I wonder whether that should not be put per default by the samba's installation script. What do you think ?

>>No, that's definitely wrong and will cause 'service nmbd restart' to hang.
Good point.

>>And I don't know why this would be necessary on your system.

My server correctly boots without "started nmbd" during the 3/4 test reboots I made. However, I kept that line
"just in case" I got into a racy situation during reboots in the future (https://bugs.launchpad.net/ubuntu/+source/samba/+bug/596064)

>>Regardless, beyond 14.04 the system init is handled completely differently (via systemd instead of upstart) so this bug will no longer apply in 16.04 LTS.

That's (very) good to know, thanks for your answers !