[Bug 121992] [NEW] bashrc should not depend on /usr mounted

Launchpad Bug Tracker 121992 at bugs.launchpad.net
Thu Feb 17 11:25:15 UTC 2011


You have been subscribed to a public bug by Daniel Holbach (dholbach):

Binary package hint: bash

/etc/skel/.bashrc contains calls to dircolors. If /usr is not mounted or
not in the $PATH, like in a rescue shell started by a failing fsck, this
will fail, and addtionally kick off command-not-found on the error
message with funny results.

Adding a test like "&& -x /usr/bin/dircolors" to /etc/skel/.bashrc would
help.

command-not-found should better be disabled when starting this rescue
shell.

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: Fix Released

-- 
bashrc should not depend on /usr mounted
https://bugs.launchpad.net/bugs/121992
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list