Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 883809

Summary: sys-fs/multipath-tools: add proper USE=split-usr handling or move into /usr
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=883759
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 398051    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-01 07:36:37 UTC
We should figure out if we really need to be putting things in / or not. I assume because of the nature of the package, we do, but I haven't verified that.

We weren't until recently even handling that split correctly, although right now we do it unconditionally as a bandaid for bug 883759.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-17 05:58:02 UTC
commit b0874f66ad6380825b69309eb6deb5c69c345912
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Thu Mar 23 11:38:06 2023 -0400

    sys-fs/multipath-tools: pass usr_prefix to make

    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

helps this a bit, I think?

not sure if there's anything left here, especially given split-usr-without-initramfs is no longer supported
Comment 2 Mike Gilbert gentoo-dev 2024-03-17 19:50:05 UTC
I think that commit was mostly about EPREFIX. The Makefile has defaults usr_prefix=${prefix} if prefix is not empty, so we need to pass usr_prefix=${EPREFIX}/usr to override that.

In any case, the Makefile seems to be wired up to install most of its bins and libs in / by default.