[Pkg-samba-maint] Bug#563844: samba restart fails with large smbd

Steve Langasek vorlon at debian.org
Wed Jan 6 00:41:27 UTC 2010

On Tue, Jan 05, 2010 at 03:28:17PM -0800, Ross Boylan wrote:
> On Tue, 2010-01-05 at 14:03 -0800, Steve Langasek wrote:
> > On Tue, Jan 05, 2010 at 11:20:11AM -0800, Ross Boylan wrote:
> > > invoke-rc.d samba restart

> > invoke-rc.d is not an admin interface.  In lenny, the supported interface is
> > '/etc/init.d/samba restart'; in squeeze, it's 'service samba restart'.
> What is the significance of it being an admin interface?  Given my
> runlevel, I think invoke-rc.d samba and /etc/init.d.samba are the same
> thing.

It's not relevant to this bug, but there are many users who mistakenly think
that it *is* an admin interface, so it's a red flag whenever I see this
mentioned in a bug report.

> > Yes, which is the only way we have to handle such restarts, until such time
> > as we switch to an init system such as upstart that handles process
> > supervision.
> I thought some packages monitored process to see when they disappear.
> That's not very elegant, of course, and I guess it's vulnerable to
> problems if other programs are invoked with the same command line.

Yes, quite - the current technique is the most reliable available, and best
practice for Debian packages.  Anything else will have to wait for process
supervision support as a standard Debian init feature.

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: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20100105/e5db3b68/attachment-0001.pgp>

More information about the Pkg-samba-maint mailing list