Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2350

Summary: Bug in /etc/skel/.bash_profile from the stage1 tarball
Product: Gentoo Linux Reporter: Lasse Mikkelsen <lbm>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED DUPLICATE    
Severity: minor CC: drobbins, lbm
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The affected file

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 ***