Bug 815810

Summary: [RFE] history of bash is lost running multiple instances in parallel
Product: [Fedora] Fedora Reporter: Account closed by user <c719711>
Component: setupAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ovasik, pknirsch, rrakus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-13 11:01:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Account closed by user 2012-04-24 14:50:38 UTC
add "shopt -s histappend" to /etc/bashrc to avoid it.

histappend:
If set, the history list is appended to the file named by the value of  the HISTFILE  variable  when  the  shell exits, rather than overwriting the file.

Comment 1 Ondrej Vasik 2012-04-24 22:04:11 UTC
Thanks for the suggestion. I'm just thinking why it was not added there earlier. Only thing I can think about is the potential privacy reason - and for root user potentially maybe even security reasons. Maybe it would be better to add it into /etc/skel/.bashrc - so it will get active for common users, but will be not used for the root.

Comment 2 Ondrej Vasik 2012-04-24 22:05:25 UTC
Adding bash maintainer to CC, Roman, what do you think about this RFC?

Comment 3 Roman Rakus 2012-04-25 13:34:28 UTC
I have nothing against it. I'm not sure about any privacy nor security reasons.

Comment 4 Account closed by user 2012-06-13 11:18:57 UTC
also "history -a" is needed in bashrc.

Comment 5 Ondrej Vasik 2012-07-13 11:01:27 UTC
Done in setup-2.8.56-1.fc18, closing RAWHIDE.