Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2350 - Bug in /etc/skel/.bash_profile from the stage1 tarball
Summary: Bug in /etc/skel/.bash_profile from the stage1 tarball
Status: RESOLVED DUPLICATE of bug 2130
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-02 13:08 UTC by Lasse Mikkelsen
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments
The affected file (.bash_profile,203 bytes, text/plain)
2002-05-02 13:15 UTC, Lasse Mikkelsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lasse Mikkelsen 2002-05-02 13:08:31 UTC
When creating new users on a system installed with the stage1 tarball, I noticed
that there is a bug in the /etc/skel/.bash_profile bash configuration file.

On my system it looks like:

#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc

eval `dircolors -b /etc/DIR_COLORS`
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"

But /etc/DIR_COLORS doesn't exist!

The line starting with "eval" should be:

eval `dircolors -b`
Comment 1 Lasse Mikkelsen 2002-05-02 13:15:50 UTC
Created attachment 781 [details]
The affected file
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-05-02 22:04:54 UTC
Az: we should at least check that the file exists before using it.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-03 18:09:57 UTC
I just keep forgetting to talk to you about this :)  It was part of
fileutils, but after the last update, it was left out.  It seems as if it
fixes problems for tcsh (again) users, so i think maybe Ill add it to
baselayout.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-03 18:13:13 UTC
Just to see previous comment :)
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-05 05:57:47 UTC

*** This bug has been marked as a duplicate of 2130 ***