On Thu, Jan 28, 2016 at 03:59:50PM -0000, bugproxy wrote:
> > - iprconfig is not shipped as /usr/sbin/iprconfig in Ubuntu, but as
> > /sbin/iprconfig; so adding the dependency does not remove the error.
> Hmmm. This is one of the challenge we constantly face with distros. I
> should have verified this :-(
> Can you tell me the criteria to place commands to /sbin and /usr/sbin ?
> Because I see Ubuntu placed few commands under /sbin/ and few under
> /usr/sbin
The command placement *should* conform to the FHS requirement, that /sbin is
for tools that may be needed in order to mount /usr, and /usr/sbin is for
everything else. In practice this line is not enforced clearly, and /usr as
a separate partition may require an initramfs to mount it. I don't know the
specific reason that iprconfig is placed in /sbin, but I would say that
vpdupdate should invoke iprconfig using the default system search path,
instead of hard coding a specific path to the command.
This probably doesn't affect Fedora and recent Red Hat either way, because
they have merged /usr and / so that /sbin and /usr/sbin are symlinked to
each other.
> Also can you please fix this in Ubuntu tree -OR- do you want us to fix
> it in upstream before you fix?
We would prefer to have an agreed upstream fix first that we can then pull
into Ubuntu.
> ------- Comment From <email address hidden> 2016-01-28 10:59 EDT-------
> (In reply to comment #6)
> > This bug was fixed in the package lsvpd - 1.7.6-0ubuntu2
> > * Add dependency on iprutils, since iprconfig is needed. LP: #1537116.
> Thanks!
> Did you fix iprconfig path as well?
No, this only added the dependency.
--
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/
<email address hidden> <email address hidden>
On Thu, Jan 28, 2016 at 03:59:50PM -0000, bugproxy wrote:
> > - iprconfig is not shipped as /usr/sbin/iprconfig in Ubuntu, but as
> > /sbin/iprconfig; so adding the dependency does not remove the error.
> Hmmm. This is one of the challenge we constantly face with distros. I
> should have verified this :-(
> Can you tell me the criteria to place commands to /sbin and /usr/sbin ?
> Because I see Ubuntu placed few commands under /sbin/ and few under
> /usr/sbin
The command placement *should* conform to the FHS requirement, that /sbin is
for tools that may be needed in order to mount /usr, and /usr/sbin is for
everything else. In practice this line is not enforced clearly, and /usr as
a separate partition may require an initramfs to mount it. I don't know the
specific reason that iprconfig is placed in /sbin, but I would say that
vpdupdate should invoke iprconfig using the default system search path,
instead of hard coding a specific path to the command.
This probably doesn't affect Fedora and recent Red Hat either way, because
they have merged /usr and / so that /sbin and /usr/sbin are symlinked to
each other.
> Also can you please fix this in Ubuntu tree -OR- do you want us to fix
> it in upstream before you fix?
We would prefer to have an agreed upstream fix first that we can then pull
into Ubuntu.
> ------- Comment From <email address hidden> 2016-01-28 10:59 EDT-------
> (In reply to comment #6)
> > This bug was fixed in the package lsvpd - 1.7.6-0ubuntu2
> > ---------------
> > lsvpd (1.7.6-0ubuntu2) xenial; urgency=medium
> > * Add dependency on iprutils, since iprconfig is needed. LP: #1537116.
> Thanks!
> Did you fix iprconfig path as well?
No, this only added the dependency.
-- www.debian. org/
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://
<email address hidden> <email address hidden>