[PATCH] Use /bin/kill not /usr/bin/kill in systemd scripts
Michael Adam
obnox at samba.org
Fri Feb 8 01:57:02 MST 2013
On 2013-02-08 at 19:43 +1100, 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.
It is discussed to move contents of /bin to /usr/bin and likewise
for /sbin, /lib, and /lib64, and replacing /bin by a symlink to
/usr/bin, and so on.
More precisely, quoting from the url above:
"Improved compatibility with other Unixes/Linuxes in behavior:
After the /usr merge all binaries become available in both /bin
and /usr/bin, resp. both /sbin and /usr/sbin. (simply because
/bin becomes a symlink to /usr/bin, resp. /sbin to /usr/sbin)."
This means (for me) that using /bin/kill is the more portable
version and we should use it.
Cheers - Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 206 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130208/bc0da9c9/attachment.pgp>
More information about the samba-technical
mailing list