[Pkg-samba-maint] Bug#953530: samba-common-bin: post-install fails with "lock directory /run/samba does not exist"

Gian Piero Carrubba gpiero at rm-rf.it
Tue Mar 10 07:40:49 GMT 2020


Package: samba-common-bin
Version: 2:4.11.5+dfsg-1+b1
Severity: normal

While upgrading samba-common-bin from 2:4.11.5+dfsg-1 to 2:4.11.5+dfsg-1+b1:

---
Performing actions...
Setting up samba-common-bin (2:4.11.5+dfsg-1+b1) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
ERROR: lock directory /run/samba does not exist

ERROR: pid directory /run/samba does not exist

Server role: ROLE_STANDALONE

dpkg: error processing package samba-common-bin (--configure):
 installed samba-common-bin package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 samba-common-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
---

samba-common-bin was installed as a dependency of smbclient, the "server
role" message is misleading as I don't have any need for a SMB server
(and for any lock or pidfile, afaik).

Thank you,
Gian Piero.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages samba-common-bin depends on:
ii  libbsd0        0.10.0-1
ii  libc6          2.29-10
ii  libgnutls30    3.6.12-2
ii  libldap-2.4-2  2.4.49+dfsg-2
ii  libncurses6    6.2-1
ii  libpopt0       1.16-14
ii  libreadline8   8.0-4
ii  libtalloc2     2.3.0-5
ii  libtdb1        1.4.2-3+b1
ii  libtevent0     0.10.1-4
ii  libtinfo6      6.2-1
ii  libwbclient0   2:4.11.5+dfsg-1+b1
ii  python3        3.8.2-1
ii  python3-samba  2:4.11.5+dfsg-1+b1
ii  samba-common   2:4.11.5+dfsg-1
ii  samba-libs     2:4.11.5+dfsg-1+b1

Versions of packages samba-common-bin recommends:
ii  samba-dsdb-modules  2:4.11.5+dfsg-1+b1

Versions of packages samba-common-bin suggests:
pn  heimdal-clients    <none>
ii  python3-dnspython  1.16.0-2
pn  python3-markdown   <none>

-- no debconf information



More information about the Pkg-samba-maint mailing list