On Thursday, 28 March 2024 12:01:54 CET Michael wrote:
> On Thursday, 28 March 2024 10:23:29 GMT Matthias Hanft wrote:
> > J. Roeleveld wrote:
> > > Do you use the binary packages supplied by Gentoo?
> > > Or all local-compiled?
> > 
> > All local-compiled, with the exemption of "monster-packages" which
> > would take hours or even days to compile (e.g. rust - here I use
> > "dev-lang/rust-bin" instead).
> > 
> > I don't even have any of /etc/portage/binrepos.conf or /var/cache/binpkgs/
> > (and "emerge --getbinpkg ..." displays a warning that it won't work).
> > 
> > -Matt
> 
> You mentioned you have created your custom profile with hardened and desktop
> - could this action have inadvertently mixed merged with split /usr
> profiles in your system?

No, because the server uses hardened and the desktop uses a desktop profile.
These are 2 different systems.

> What does 'tree -L 1 /' show on your server?

After the migration, no symlinks for /bin, /sbin or /lib.

I have just migrated to merge-usr to make sure this particular issue won't 
occur again.

Hope this does warn others using gentoo-provided binary packages that some 
weird issues can happen:
- desktop profile: prevent the use of binaries for "libtool"
- hardened profile: prevent the use of binaries for "libtool" + make symlinks 
for /usr/sbin/openrc* in /sbin/

The symlinks will be handled correctly when doing the usr-merge afterwards.

--
Joost



Reply via email to