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

Michael Tokarev mjt at tls.msk.ru
Wed Mar 23 14:21:34 GMT 2022


23.03.2022 16:38, Diederik de Haas wrote:
> On woensdag 23 maart 2022 06:54:57 CET Axel Beckert wrote:
>> Gian Piero Carrubba wrote:
>>> Init: sysvinit (via /sbin/init)
>>
>> Diederik de Haas wrote:
>>> 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.
>> I think, I see a pattern here: My three affected hosts have sysvinit,
>> too (on purpose).
> 
> Yeah, that's a pattern :-)
> 
> Looking a bit further and I found https://bugs.debian.org/975422 through
> https://salsa.debian.org/samba-team/samba/-/commit/0c3b2056764cd1a566766c3e1764d7c312eab5d7
> titled: "Ensure systemd-tmpfiles is called before testparm (Closes: #975422)"

How about just mkdir -p /run/samba at the place of #DEBHELPER# in there ?

/mjt



More information about the Pkg-samba-maint mailing list