[Pkg-samba-maint] Bug#831770: smbclient needs /run/samba tmpfiles dir under systemd

Jan Stattegger-Sievers jan.stattegger-sievers at fu-berlin.de
Tue Jul 19 10:07:29 UTC 2016


Package: smbclient
Version: 2:4.2.10+dfsg-0+deb8u3
Severity: normal

Hi,

here smbclient dies with a segfault, if /var/run/samba aka /run/samba is
not present:

  Unable to create directory /var/run/samba for file gencache_notrans.tdb.
  Error was Permission denied

In the source package the systemd tmpfiles definition is already
created in the rules file:

  echo "d /run/samba 0755 root root -" >
    $(DESTDIR)/usr/lib/tmpfiles.d/samba.conf

But it's not installed for the smbclient package, but only for
samba-common-bin, which is no dependency for smbclient.

Regards,
Jan

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

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages smbclient depends on:
ii  dpkg          1.17.27
ii  libarchive13  3.1.2-11+deb8u1
ii  libbsd0       0.7.0-2
ii  libc6         2.19-18+deb8u4
ii  libpopt0      1.16-10
ii  libreadline6  6.3-8+b3
ii  libsmbclient  2:4.2.10+dfsg-0+deb8u3
ii  libtalloc2    2.1.2-0+deb8u1
ii  libtevent0    0.9.25-0+deb8u1
ii  samba-common  2:4.2.10+dfsg-0+deb8u3
ii  samba-libs    2:4.2.10+dfsg-0+deb8u3

smbclient recommends no packages.

Versions of packages smbclient suggests:
ii  cifs-utils       2:6.4-1
pn  heimdal-clients  <none>

-- no debconf information



More information about the Pkg-samba-maint mailing list