Hi Sam, On Tue, Sep 06, 2011 at 01:40:34PM +0100, Sam Morris wrote: > When systemd is installed, the behaviour of '/etc/init.d/samba status' > changes (systemd changes the LSB init functions to launch services via > systemctl rather than directly) in a way that breaks the if-up.d script.
> I've modified the script to get it to work again; see below. Why should this not be fixed in systemd? I don't think it's appropriate for the status_of_proc() function to give different output under systemd than under sysvinit and to require a package that isn't aware of systemd at all to cope with such divergence. In Ubuntu, the Samba package currently avoids status_of_proc() entirely because we know that we will *always* be using upstart on Ubuntu, so we can just invoke the 'status' command directly. But this argument does not apply in Debian, and I would not like to see the init script in Debian have to account for differing init systems. -- 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