[Pkg-samba-maint] Bug#488275: Bug#488275: samba and winbind: initscript miss 'status' option

Dustin Kirkland kirkland at canonical.com
Wed Jul 9 01:31:18 UTC 2008


I'm working on a generic status_of_proc() function to be provided
by /lib/lsb/init-functions in the lsb-base package.

This bug is:
 * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483285

This function also currently uses /bin/pidof, although eventually, I'd
like at add some improved support for pidfiles as well.  Having this
functionality in a single library function is far more maintainable than
scattering this sort of functionality across dozens/hundreds/thousands
of init scripts.

Although the patch hasn't been accepted in Debian's lsb-base yet, we
have applied it and are working on it in Ubuntu's development tree
(Intrepid) at the moment.  We're tracking this as a single bug at this
moment here:
 * https://bugs.edge.launchpad.net/ubuntu/+source/sysklogd/+bug/203169

I've modified a handful of service init scripts, including Samba to use
this function.  I don't know if it'll (yet) serve your heartbeat needs,
but in my testing, it seems to work perform correctly, telling you if
nmbd/smbd/winbindd are running or not.
 * http://launchpadlibrarian.net/15898919/samba.status.debdiff

Once the status_of_proc() function is in lsb-base, I intend to push this
patch to Debian's samba.


Dustin Kirkland
Ubuntu Server Developer
Canonical, LTD
kirkland at canonical.com
GPG: 1024D/83A61194
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20080708/22ecb375/attachment.pgp 

More information about the Pkg-samba-maint mailing list