[Pkg-samba-maint] Bug#772154: process_usershare_file: stat of /var/lib/samba/usershares/netlogo failed. No such file or directory

Marco Gaiarin gaio at sv.lnf.it
Fri Dec 5 16:06:38 UTC 2014


Package: samba
Version: 2:3.6.6-6+deb7u4
Severity: minor


After upgrading from debian squeeze to debian wheezy (samba version
3.6.6-6+deb7u4; but i get the same thing on a newly installed debian wheezy
server), i can see on the logs many row like:

 [2014/11/29 09:29:07.026230,  0] param/loadparm.c:9114(process_usershare_file)
   process_usershare_file: stat of /var/lib/samba/usershares/netlogo failed. No such file or directory

note that:

1) i've no 'usershares' defined in smb.conf:

 root at armitage:~# testparm | grep usershare
 Load smb config files from /etc/samba/smb.conf
 rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
 Can't find include file /etc/samba/smb.conf.
 Processing section "[printers]"
 Processing section "[print$]"
 Processing section "[netlogon]"
 Processing section "[larpch]"
 Processing section "[homes]"
 Processing section "[profiles]"
 Processing section "[wpkg]"
 Processing section "[Users]"
 Loaded services file OK.
 Server role: ROLE_DOMAIN_BDC
 Press enter to see a dump of your service definitions

2) note the missing last character, eg '/var/lib/samba/usershares/netlogo'
and not '/var/lib/samba/usershares/netlogon'.

Apart log flood, all works as expected, it is only annoying.

Thanks.

(reported upstream as https://bugzilla.samba.org/show_bug.cgi?id=10987)

-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg                   1.16.15
ii  libacl1                2.2.51-8
ii  libattr1               1:2.4.46-8
ii  libc6                  2.13-38+deb7u6
ii  libcap2                1:2.22-1.2
ii  libcomerr2             1.42.5-1.1
ii  libcups2               1.5.3-5+deb7u4
ii  libgssapi-krb5-2       1.10.1+dfsg-5+deb7u2
ii  libk5crypto3           1.10.1+dfsg-5+deb7u2
ii  libkrb5-3              1.10.1+dfsg-5+deb7u2
ii  libldap-2.4-2          2.4.31-1+nmu2
ii  libpam-modules         1.1.3-7.1
ii  libpam-runtime         1.1.3-7.1
ii  libpam0g               1.1.3-7.1
ii  libpopt0               1.16-7
ii  libtalloc2             2.0.7+git20120207-1
ii  libtdb1                1.2.10-2
ii  libwbclient0           2:3.6.6-6+deb7u4
ii  lsb-base               4.1+Debian8+deb7u1
ii  procps                 1:3.3.3-3
ii  samba-common           2:3.6.6-6+deb7u4
ii  update-inetd           4.43
ii  zlib1g                 1:1.2.7.dfsg-13

Versions of packages samba recommends:
ii  logrotate  3.8.1-4
ii  tdb-tools  1.2.10-2

Versions of packages samba suggests:
pn  ctdb                              <none>
pn  ldb-tools                         <none>
ii  openbsd-inetd [inet-superserver]  0.20091229-2
ii  smbldap-tools                     0.9.10-0gaio3.1

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



More information about the Pkg-samba-maint mailing list