Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #81944 > unrolled thread

Bug#1064795: iproute2: installs same filename to both bin and sbin

Started bycacin@allfreemail.net
First post2024-02-26 00:00 +0100
Last post2024-08-22 02:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1064795: iproute2: installs same filename to both bin and sbin cacin@allfreemail.net - 2024-02-26 00:00 +0100
    Bug#1064795: iproute2: removing /sbin/ip link breaks other packages and possibly user scripts Ben Hutchings <ben@decadent.org.uk> - 2024-08-22 02:20 +0200

#81944 — Bug#1064795: iproute2: installs same filename to both bin and sbin

Fromcacin@allfreemail.net
Date2024-02-26 00:00 +0100
SubjectBug#1064795: iproute2: installs same filename to both bin and sbin
Message-ID<IbvDr-cCRe-7@gated-at.bofh.it>
Package: iproute2
Version: 6.7.0-2
Severity: normal

Dear Maintainer,

your package installs the filename `ip` to both bin and sbin as opposed to just one of those locations.

This causes a problem on a filesystem layout where bin and sbin are merged into a single real directory, typically by sbin being a symlink to bin. Such a filesystem layout has become standard on some distributions now, and others are moving onto in their next releases.

Please pick one location and install it only there. /usr/bin is preferred over any other location.

Thank you for maintaining software in debian.

[toc] | [next] | [standalone]


#83568 — Bug#1064795: iproute2: removing /sbin/ip link breaks other packages and possibly user scripts

FromBen Hutchings <ben@decadent.org.uk>
Date2024-08-22 02:20 +0200
SubjectBug#1064795: iproute2: removing /sbin/ip link breaks other packages and possibly user scripts
Message-ID<Je3It-6FtU-1@gated-at.bofh.it>
In reply to#81944

[Multipart message — attachments visible in raw view] — view raw

On Fri, 2024-08-16 at 16:54 +0100, Colin Watson wrote:
> On Fri, Aug 16, 2024 at 05:21:38PM +0200, Philip Hands wrote:
> > I think it probably was just a coincidence, since it looks like the
> > change was made in order to fix #1064795 which was reported on
> > 25 Feb 2024.
> 
> Ah, good to know, thanks.  I didn't notice that since it wasn't
> mentioned in the iproute2 changelog.
> 
> > It just strikes me as obvious that removing any long-standing binary
> > path in Debian is pretty-much bound to break someone's system, and if
> > you want to do that you really ought to at least check, and preferably
> > try to work out a way of warning them about it, or fixing the breakage
> > first.
> 
> Quite.  If nothing else, I think the code actually in the Debian archive
> that relies on the old path ought to be changed _first_, e.g. via an
> MBF.  I see a bunch of cases that are relatively subtle and might suck a
> lot of other people's time trying to debug them from cold, such as
> AppArmor profiles and example scripts, and it's just good manners to
> give maintainers an explicit heads-up.

I've made a team upload of iproute2 (version 6.10.0-2) with this change
reverted.

Luca, please leave the symlink in place at least as long as there are
packages that rely on it.

Ben.

-- 
Ben Hutchings
All the simple programs have been written, and all the good names taken

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web