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
Thank you! Sorry this took a bit of time to get to.
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(+)