[Pkg-samba-maint] init script granularity?

Steve Langasek vorlon at debian.org
Mon May 13 20:14:59 UTC 2013


Hey all,

With the ongoing discussion about moving the samba package to 4.0.x, I think
now would be a good time to tackle a looming issue with regards to the init
scripts in the package.

Currently the samba package has a single init script that launches both smbd
and nmbd.  This works ok for sysvinit, but does not match up with how either
upstart or systemd manages services: for each of these init systems, we want
to have a single job/unit definition per daemon.  And since both upstart and
systemd have a notion of sysvinit compatibility that involves matching names
between the native services and the sysvinit scripts, for best results we
should split the samba init script into two - smbd and nmbd.

I think the split will be straightforward to do.  Does anybody object to me
going ahead and making this change?

Once done, I would also add upstart jobs into the packaging, for improved
behavior on upstart-enabled systems.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20130513/8790e485/attachment.pgp>


More information about the Pkg-samba-maint mailing list