Samba fails to bind IPv6 on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: samba
On cold boot, smbd/nmbd just bind to IPv4:
$ netstat -an|grep 445
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN
$ netstat -an|grep 139
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
Once the box is fully up (IPv6 is statically configured in /etc/network/
$ sudo service nmbd restart
nmbd start/running, process 3107
$ sudo service smbd restart
smbd start/running, process 3113
$ netstat -an|grep 139
tcp6 0 0 :::139 :::* LISTEN
$ netstat -an|grep 445
tcp6 0 0 :::445 :::* LISTEN
This is samba 2:3.4.7~
Thank you for taking the time to report this bug and helping to make Ubuntu better.
This is due to the upstart job:
start on (local-filesystems and net-device-up IFACE!=lo)
samba may need to be restarted once an interface is brought up via if /etc/network/ if-up.d/ .