[Bug 673008] New: bash does not execute ~/bashrc on startup
https://bugzilla.novell.com/show_bug.cgi?id=673008
https://bugzilla.novell.com/show_bug.cgi?id=673008#c0
Summary: bash does not execute ~/bashrc on startup
Classification: openSUSE
Product: openSUSE 11.3
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.3
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: giecrilj@stegny.2a.pl
QAContact: qa@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pl-PL; rv:1.9.2.13)
Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13
bash does not behave as documented:
Table 20-2 Bash Configuration Files for Non-Login Shells [1]
~/bashrc: Insert user specific configuration here
Reproducible: Always
Steps to Reproduce:
1. echo 'user_specific_configuration=1' >>~/bashrc
2. bash
3. echo $user_specific_configuration
Actual Results:
3.
Expected Results:
3. 1
Note: ~/.bashrc does work, as documented upstream.
___
[1]
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673008
https://bugzilla.novell.com/show_bug.cgi?id=673008#c
Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=673008
https://bugzilla.novell.com/show_bug.cgi?id=673008#c1
--- Comment #1 from Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=673008
https://bugzilla.novell.com/show_bug.cgi?id=673008#c
wei wang
https://bugzilla.novell.com/show_bug.cgi?id=673008
https://bugzilla.novell.com/show_bug.cgi?id=673008#c2
Dr. Werner Fink
man bash | grep bashrc tialization file ~/.bashrc if the shell is interactive (see ~/.bashrc if the shell is interactive. This option is on by reads and executes commands from /etc/bash.bashrc then ~/.bashrc when execute commands from file instead of ~/.bashrc. from /etc/bash.bashrc then ~/.bashrc when those files exist and are initialize the shell, as in ~/.bashrc. The value of BASH_ENV is
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673008
https://bugzilla.novell.com/show_bug.cgi?id=673008#c3
--- Comment #3 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=673008
https://bugzilla.novell.com/show_bug.cgi?id=673008#c4
--- Comment #4 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=673008
https://bugzilla.novell.com/show_bug.cgi?id=673008#c
Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=673008
https://bugzilla.novell.com/show_bug.cgi?id=673008#c6
Frank Sundermeyer
participants (1)
-
bugzilla_noreply@novell.com