[PATCH] Use /bin/kill not /usr/bin/kill in systemd scripts

Andreas Schneider asn at samba.org
Fri Feb 8 07:28:40 MST 2013

On Friday 08 February 2013 19:43:48 Andrew Bartlett wrote:
> On Fri, 2013-02-08 at 09:35 +0100, Andreas Schneider wrote:
> > On Friday 08 February 2013 11:40:38 Andrew Bartlett wrote:
> > > I'm not yet up on all the systemd stuff, but it was suggested to me
> > > that /bin/kill is a more portable command than /usr/bin/kill across both
> > > Red Hat and debian derived distributions.
> > 
> > /usr/bin/kill is used cause of UsrMove.
> > 
> > http://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge
> > 
> > This has already been finished in Fedora 17 and will be the case in the
> > upcoming RHEL version.
> > In openSUSE it is already work in progress since 12.2.
> > 
> > I don't know about the Debian or Debian based distributions. I would like
> > to keep it the way it is. Does debian alreay have systemd? If they use
> > systemd it is likely that UsrMerge will be done too.
> That link goes nowhere for me, and so I'm rather confused.  In any case,
> the use case I have is a debian Wheezy based system with systemd.

Ah, sorry. It is Debian. As far as I know Debian doesn't have systemd by 
default, they support it more or less and they wont do any UsrMove like SUSE 
or Red Hat.

As /bin is planned to go away in Future and Ubuntu discussing UsrMove [1] one 
has to modify them sooner or later.

I would prefer to keep it /usr/bin/kill as SUSE and Fedora is alreay packaging 
them in the correct directory and are the users of the systemd files.

Others could simply modify the files before or after installing.

An alternative would be to use smbcontrol to reload the config.

	-- andreas

[1] https://wiki.ubuntu.com/FoundationsTeam/Specs/Quantal/UsrMerge

Andreas Schneider                   GPG-ID: F33E3FC6
Samba Team                             asn at samba.org

More information about the samba-technical mailing list