[Pkg-samba-maint] Bug#873073: samba: smbd starts before interface is ready, listening only on localhost when "bind to interfaces only = yes"

Niccolo Rigacci niccolo at rigacci.org
Wed Dec 27 07:59:58 UTC 2017


Package: samba
Version: 2:4.5.12+dfsg-2+deb9u1
Followup-For: Bug #873073

Dear Maintainer,

I confirm the problem on a host upgraded from Jessie to Stretch.
As a workaround, I added an "up" option to the /etc/network/interfaces:

allow-hotplug eth0
iface eth0 inet dhcp
    ethernet-wol g
    up /bin/systemctl restart smbd.service || true


-- System Information:
Debian Release: 9.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages samba depends on:
ii  adduser              3.115
ii  dpkg                 1.18.24
ii  init-system-helpers  1.48
ii  libbsd0              0.8.3-1
ii  libc6                2.24-11+deb9u1
ii  libldb1              2:1.1.27-1+b1
ii  libpam-modules       1.1.8-3.6
ii  libpam-runtime       1.1.8-3.6
ii  libpopt0             1.16-10+b2
ii  libpython2.7         2.7.13-2+deb9u2
ii  libtalloc2           2.1.8-1
ii  libtdb1              1.3.11-2
ii  libtevent0           0.9.31-1
ii  libwbclient0         2:4.5.12+dfsg-2+deb9u1
ii  lsb-base             9.20161125
ii  procps               2:3.3.12-3
ii  python               2.7.13-2
ii  python-dnspython     1.15.0-1
ii  python-samba         2:4.5.12+dfsg-2+deb9u1
ii  python2.7            2.7.13-2+deb9u2
ii  samba-common         2:4.5.12+dfsg-2+deb9u1
ii  samba-common-bin     2:4.5.12+dfsg-2+deb9u1
ii  samba-libs           2:4.5.12+dfsg-2+deb9u1
ii  tdb-tools            1.3.11-2
ii  update-inetd         4.44

Versions of packages samba recommends:
ii  attr                1:2.4.47-2+b2
ii  logrotate           3.11.0-0.1
ii  samba-dsdb-modules  2:4.5.12+dfsg-2+deb9u1
ii  samba-vfs-modules   2:4.5.12+dfsg-2+deb9u1

Versions of packages samba suggests:
pn  bind9          <none>
pn  bind9utils     <none>
pn  ctdb           <none>
pn  ldb-tools      <none>
ii  ntp            1:4.2.8p10+dfsg-3+deb9u1
pn  smbldap-tools  <none>
pn  ufw            <none>
pn  winbind        <none>

-- debconf information:
  samba-common/title:
  samba/run_mode: daemons



More information about the Pkg-samba-maint mailing list