Matt Harrison wrote: > On Sun, Oct 26, 2008 at 03:32:10PM -0400, Mike Edenfield wrote: >> Matt Harrison wrote: >> >>> The problem is that even though the selinux USE flag isn't exabled, >>> packages >>> like coreutils are still linking into libselinux. So if I remove >>> libselinux >>> and all the selinux related packages, it breaks a whole load of binaries >>> on >>> the system, so much so that I can't recompile packages afterwards. >> Once you switch to a non-SELinux profile you still need to rebuild the >> packages that used the library. Building them without the selinux USE flag >> will prevent them from linking to the library. Once they're all rebuilt, >> then you can remove the SELinux userland stuff. > > But I've already rebuilt the packages, like coreutils, yet ldd on /bin/mv > still shows libselinux linked in.
revdep-rebuild won't do you any good as long as coreutils automagically links against libselinux. This has been fixed in coreutils-6.10-r3 and coreutils-6.12-r2, so I suggest using one of these versions. Regards, Andi
