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. Cheers, -- 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/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: Digital signature