I just tried the hardened-x86-2004.0 profile, I installed from scratch(stage1) and I always get this error message when logging in because there is no /etc/DIR_COLORS file anymore: dircolors: `/etc/DIR_COLORS': No such file or directory I need to remove the "eval `dircolors -b /etc/DIR_COLORS`" line from me ~/.bashrc to prevent this...
/etc/DIR_COLORS is supposed to be in all of the stage* tarballs, the profile you choose shouldn't matter: Green data # tar -tjvf stage1-x86-selinux-20040211.tar.bz2 | grep DIR -rw-r--r-- root/root 2339 2004-02-11 19:58:38 ./etc/DIR_COLORS Green data # tar -tjvf stage1-x86-pie-ssp-2004.0-20040210.tar.bz2 | grep DIR -rw-r--r-- root/root 2339 2004-02-09 23:58:32 ./etc/DIR_COLORS Perhaps DIR_COLORS should be added to the baselayout package, to keep this fresh?
Az, thoughts on comment #1?
I just ran into the same problem with stage1-x86-20040218.
This is a problem with all profiles; it is accidental that it showed up first on hardened. Looking at the packages, it seems to me that /etc/DIR_COLORS should be owned and installed by sys-apps/coreutils. As it happens, the patchset to coreutils contains a DIR_COLORS so it should be easy to modify the coreutils ebuild to install it.
Created attachment 27877 [details, diff] Proposed patch to coreutils
*** Bug 47434 has been marked as a duplicate of this bug. ***
This is not something we can exactly fix after the fact. New releases should be out within the week.