[Pkg-samba-maint] Bug#953530: samba-common-bin: post-install fails with "lock directory /run/samba does not exist"
Diederik de Haas
didi.debian at cknow.org
Fri Mar 18 22:28:33 GMT 2022
On 10 Mar 2020 08:40:49 +0100 Gian Piero Carrubba <gpiero at rm-rf.it> wrote:
> 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)
> ---
Two years later and this issue still exists? I saw Axel already updated
the 'found' version so I won't have to do this.
===============================================================
Preparing to unpack .../09-samba-common-bin_2%3a4.13.14+dfsg-1+b2_amd64.deb ...
Unpacking samba-common-bin (2:4.13.14+dfsg-1+b2) over (2:4.13.14+dfsg-1+b1) ...
...
Setting up samba-common-bin (2:4.13.14+dfsg-1+b2) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
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
[master 549da0e] committing changes in /etc made by "aptitude safe-upgrade"
1 file changed, 382 insertions(+), 449 deletions(-)
rewrite ssh/moduli (99%)
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up samba-common-bin (2:4.13.14+dfsg-1+b2) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
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
===============================================================
And indeed I do not have a /run/samba/ directory on my Bookworm system/server.
I don't think it's relevant, but it (still?) has sysv-init as init.
(And is a Xen dom0 host.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20220318/56c7bc6f/attachment.sig>
More information about the Pkg-samba-maint
mailing list