Debian bug #516152 is from 2009, and #343673 from 2006 ... none of them
are fixed, so I don't think they care.

This is not an irrelevant package we are talking about, its a flaw in
invocation of something critical like bash. Is there any chance this
could be patched ASAP in Ubuntu and then the patch submitted to Debian
afterwards?

Also, this is not only a bug in documentation as #516152 and #343673
suggests: with current behaviour, it's impossible to "disable" the
execution of /etc/bash.bashrc and still give the user a choice of
executing a personal rcfile.

Samples:

$ cat /etc/bash.bashrc
echo etcbashrc
$ cat ~/customrc
echo customrc
$ cat ~/.bashrc
echo bashrc
$ bash
etcbashrc
bashrc
$ bash --rcfile ~/customrc
etcbashrc
customrc
$ bash --norc --rcfile ~/customrc
$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/589496

Title:
  bash --rcfile does not behave as documented

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/589496/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to