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

2016-03-27 Thread yetanotherion
> - "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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2016-03-26 Thread yetanotherion
With quite a delay :) (almost three years after), I had the same issue, on 
14.04.3 LTS (GNU/Linux 3.19.0-33-generic x86_64).
After reading this bug and 
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/596064
As a workaround, I set

"start on (local-filesystems and net-device-up IFACE=eth0 and started
nmbd)" in  /etc/init/smbd.conf.

I have two remarks, regarding:
-  "IFACE=eth0": shouldn't "net-device-up" wait for all interfaces to have an 
ip address ? (for interfaces configured on DHCP among others)
- "started nmbd": I wonder whether that should not be put per default by the 
samba's installation script. What do you think ?

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs