[Bug 649189] Re: Samba fails to bind IPv6 on boot

Jos Zonneveld 649189 at bugs.launchpad.net
Wed Mar 27 09:37:51 UTC 2013


I experienced the same bug, when /etc/network/interfaces was configured for dynamic ip.
After I configured /etc/network/interfaces to static ipv4 address, the problem was resolved.

So it seems that Samba binds only to local address, before the dhcp client received a address from the dhcp server.
Maybe there is a upstart event that fires when the network is available?

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

Title:
  Samba fails to bind IPv6 on boot

Status in “samba” package in Ubuntu:
  Confirmed

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/interfaces on the box in question), when restarted they
  both correctly listen on IPv6:

  $ 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~dfsg-1ubuntu3.2 on Ubuntu 10.04.1 LTS

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




More information about the foundations-bugs mailing list