[Pkg-samba-maint] Bug#488275: Bug#488275: samba and winbind: initscript miss 'status' option
Tim Stoop
tim at kumina.nl
Thu Jul 3 15:39:31 UTC 2008
Op 2-jul-2008, om 5:54 heeft Steve Langasek het volgende geschreven:
>>> I think it would be better to first fix winbind to use a proper PID
>>> file,
>>> then use code similar to that in the smbd/nmbd case.
>
>> I'll spend some time today to see if I can fix that. I guess the --
>> make-pidfile option from start-stop-daemon should be used. Will
>> let you
>> know when I come up with something that works.
>
> Ok, thanks for the interest!
I'm a bit confused about the following part of the winbind init script:
mkdir -p /var/run/samba/winbindd_privileged || return 1
chgrp winbindd_priv $PIDDIR/winbindd_privileged/ || return 1
chmod 0750 $PIDDIR/winbindd_privileged/ || return 1
I'm guessing it's only used to check if there's already a winbind
running? Or is the directory used for anything else? Can I remove
this and replace it with the usage of --make-pidfile in start-stop-
daemon?
--
Kind regards,
Met vriendelijke groet,
Tim Stoop
Kumina bv
www.kumina.nl
kvk nr 14095795
More information about the Pkg-samba-maint
mailing list