SPECS: samba.spec - move "lockdir" from /var/lock/samba to /var/li...

Jakub Bogusz qboosh at pld-linux.org
Tue Jan 10 18:25:48 CET 2006


On Tue, Jan 10, 2006 at 06:27:57PM +0200, Elan Ruusamäe wrote:
> On Tuesday 10 January 2006 16:42, qboosh wrote:
> > Author: qboosh                       Date: Tue Jan 10 14:42:27 2006 GMT
> > Module: SPECS                         Tag: HEAD
> > ---- Log message:
> > - move "lockdir" from /var/lock/samba to /var/lib/samba as it contains
> >   persistent valuable data and some cache, not just locks!
> >   (merged from OpenBIZ)
> why it's in %post, not in some trigger?

Because of smbd restart in %post.
It must be moved after old smbd is stopped (and all data flushed) and
before new smbd is run.


-- 
Jakub Bogusz    http://qboosh.cs.net.pl/


More information about the pld-devel-en mailing list