[Bug 823878] Re: "bind interfaces only" requires a manual change to /etc/init/smbd.conf

yetanotherion nolaridebi at gmail.com
Sun Mar 27 08:39:01 UTC 2016


> - "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 !

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/823878

Title:
  "bind interfaces only" requires a manual change to /etc/init/smbd.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/823878/+subscriptions



More information about the Ubuntu-server-bugs mailing list