Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43443 - Missing /etc/DIR_COLORS
Summary: Missing /etc/DIR_COLORS
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Hardened Gentoo
URL:
Whiteboard:
Keywords:
: 47434 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-01 23:05 UTC by Hinrik Örn Sigurðsson
Modified: 2004-04-25 19:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch to coreutils (coreutils.patch,268 bytes, patch)
2004-03-23 10:58 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hinrik Örn Sigurðsson 2004-03-01 23:05:11 UTC
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...
Comment 1 Scott Taylor (RETIRED) gentoo-dev 2004-03-01 23:22:00 UTC
/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?
Comment 2 Brandon Hale (RETIRED) gentoo-dev 2004-03-12 18:08:28 UTC
Az, thoughts on comment #1?
Comment 3 Gregg Casillo 2004-03-17 12:11:12 UTC
I just ran into the same problem with stage1-x86-20040218.
Comment 4 Ed Catmur 2004-03-23 10:39:27 UTC
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.
Comment 5 Ed Catmur 2004-03-23 10:58:01 UTC
Created attachment 27877 [details, diff]
Proposed patch to coreutils
Comment 6 Joshua Kinard gentoo-dev 2004-04-11 03:53:20 UTC
*** Bug 47434 has been marked as a duplicate of this bug. ***
Comment 7 solar (RETIRED) gentoo-dev 2004-04-25 19:46:17 UTC
This is not something we can exactly fix after the fact. 
New releases should be out within the week.