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

L.P.H. van Belle belle at bazuin.nl
Wed Mar 23 15:18:41 GMT 2022


This one is fixed some time ago, so, im wondering why we see it here.
But this is most probely due the left overs of an older samba version. 
As TP says.. Uses sysvinit. 

A quick peek the sources here. 
I do notice d/samba-common.postrm removes it.. 

d/samba-common.postrm:    rm -Rf /run/samba/ /var/cache/samba/ /var/lib/samba

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

Maybe we should add also an extra entry in samba-common-bin.dirs  
Since its fails on that package. 


Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: Pkg-samba-maint 
> [mailto:pkg-samba-maint-bounces+belle=bazuin.nl at alioth-lists.d
> ebian.net] Namens Michael Tokarev
> Verzonden: woensdag 23 maart 2022 15:22
> Aan: Diederik de Haas; 953530 at bugs.debian.org; Gian Piero 
> Carrubba; Axel Beckert
> Onderwerp: [Pkg-samba-maint] Bug#953530: Bug#953530: 
> samba-common-bin: post-install fails with "lock directory 
> /run/samba does not exist"
> 
> 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/0c3b2056764
> cd1a566766c3e1764d7c312eab5d7
> > 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
> 
> _______________________________________________
> Pkg-samba-maint mailing list
> Pkg-samba-maint at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-s
> amba-maint
> 
> 




More information about the Pkg-samba-maint mailing list