Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920054 - sys-apps/iproute2-6.6.0-r1 installs configs in unexpected location
Summary: sys-apps/iproute2-6.6.0-r1 installs configs in unexpected location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-12-15 20:15 UTC by Phil
Modified: 2023-12-28 02:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil 2023-12-15 20:15:27 UTC
I am aware this is kind of a moving target as upstream is currently making up its mind about where these files should actually go (see upstream commits deb66acabe44d and 962692356a1cc for reference), but Gentoo itself is inconsistent right now: Configs are installed in /lib64/iproute2 while the man pages (ip-route.8 for instance) refer to /usr/lib/iproute2. I can't tell whether this is due to the double LIBDIR mangling in the respective ebuild or not, but either way I suggest backporting the two commits mentioned above - /(usr/)lib is really not the right place for "default configs".

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-28 02:18:07 UTC
Thank you! Sorry this took a bit of time to get to.
Comment 2 Larry the Git Cow gentoo-dev 2023-12-28 02:19:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bbe322a85ffd86df4af61222d677808ce5b2ee6

commit 8bbe322a85ffd86df4af61222d677808ce5b2ee6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-28 02:17:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-28 02:17:29 +0000

    sys-apps/iproute2: fix config location
    
    Backport the suggested commits in the bug to install default configuration files
    to /usr/share where they belong.
    
    Closes: https://bugs.gentoo.org/920054
    Signed-off-by: Sam James <sam@gentoo.org>

 ...oute2-6.6.0-makefile-use-usr-share-config.patch |  57 ++++++
 .../files/iproute2-6.6.0-revert-CONF_USR_DIR.patch |  38 ++++
 sys-apps/iproute2/iproute2-6.6.0-r2.ebuild         | 217 +++++++++++++++++++++
 3 files changed, 312 insertions(+)