[Pkg-samba-maint] Bug#912717: samba: Samba should clean up sockets in /var/lib/samba/private/msg.sock/
Daniel Reichelt
debian at nachtgeist.net
Sat Nov 3 08:10:42 GMT 2018
Package: samba
Version: 2:4.5.12+dfsg-2+deb9u3
Severity: normal
Hi,
stopping/starting samba, it leaves a mess in /var/lib/samba/private/msg.sock/.
I can reproduce this on every machine I run samba on by simply doing:
# service samba stop ; rm -fv /var/lib/samba/private/msg.sock/* ; service samba start ; service samba stop ; ls -l /var/lib/samba/private/msg.sock
[ ok ] Stopping Samba AD DC daemon: samba.
[ ok ] Stopping SMB/CIFS daemon: smbd.
[ ok ] Stopping NetBIOS name server: nmbd.
removed '/var/lib/samba/private/msg.sock/2583'
removed '/var/lib/samba/private/msg.sock/2584'
removed '/var/lib/samba/private/msg.sock/2611'
removed '/var/lib/samba/private/msg.sock/2614'
removed '/var/lib/samba/private/msg.sock/2615'
[ ok ] Starting NetBIOS name server: nmbd.
[ ok ] Starting SMB/CIFS daemon: smbd.
[ ok ] Stopping Samba AD DC daemon: samba.
[ ok ] Stopping SMB/CIFS daemon: smbd.
[ ok ] Stopping NetBIOS name server: nmbd.
total 0
srwxrwxrwx 1 root root 0 Nov 3 09:07 2846
srwxrwxrwx 1 root root 0 Nov 3 09:07 2847
srwxrwxrwx 1 root root 0 Nov 3 09:07 2875
srwxrwxrwx 1 root root 0 Nov 3 09:07 2878
srwxrwxrwx 1 root root 0 Nov 3 09:07 2879
Happy to provide more info when requested. Right now I just don't know what you need...
Thanks
Daniel
-- System Information:
Debian Release: 9.5
APT prefers stable-updates
APT policy: (990, 'stable-updates'), (990, 'proposed-updates'), (990, 'stable'), (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), (500, 'testing'), (500, 'oldstable'), (98, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages samba depends on:
ii adduser 3.115
ii dpkg 1.18.25
ii init-system-helpers 1.48
ii libbsd0 0.8.3-1
ii libc6 2.24-11+deb9u3
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+deb9u3
ii libtalloc2 2.1.9-2~bpo9+1
ii libtdb1 1.3.11-2
ii libtevent0 0.9.31-1
ii libwbclient0 2:4.5.12+dfsg-2+deb9u3
ii lsb-base 9.20161125
ii procps 2:3.3.12-3+deb9u1
ii python 2.7.13-2
ii python-dnspython 1.15.0-1
ii python-samba 2:4.5.12+dfsg-2+deb9u3
ii python2.7 2.7.13-2+deb9u3
ii samba-common 2:4.5.12+dfsg-2+deb9u3
ii samba-common-bin 2:4.5.12+dfsg-2+deb9u3
ii samba-libs 2:4.5.12+dfsg-2+deb9u3
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+deb9u3
ii samba-vfs-modules 2:4.5.12+dfsg-2+deb9u3
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+deb9u2
pn smbldap-tools <none>
pn ufw <none>
pn winbind <none>
-- no debconf information
More information about the Pkg-samba-maint
mailing list