Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548162 - sys-apps/systemd-219_p112 deleting .bash_history for my user account on reboot
Summary: sys-apps/systemd-219_p112 deleting .bash_history for my user account on reboot
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 17:20 UTC by Harris Landgarten
Modified: 2015-09-07 20:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2015-04-29 17:20:19 UTC
since the upgrade of systemd I am losing the bash_history in my personal user account every time I reboot.
Comment 1 Harris Landgarten 2015-04-29 17:23:36 UTC
I should mention that because of failures in gdm-3.16 I am booting to mult-user.target, signing in and then running startx which starts gnome. I don't know it that method of signing into gnome could be a contributing factor.
Comment 2 Harris Landgarten 2015-05-02 16:25:30 UTC
after trying a few things it seems the issue is starting gnome from startx after signing in from the multi-user.target and then rebooting directly from with in gnome. That seems to delete bash_history for the signed in user. If I log out of gnome, returning to the command shell and reboot from there with systemctl reboot then bash_history is preserved.
Comment 3 Mike Gilbert gentoo-dev 2015-05-02 18:28:33 UTC
It seems unlikely that systemd is deleting your .bash_history file.
Comment 4 Pacho Ramos gentoo-dev 2015-09-07 18:48:46 UTC
I cannot reproduce this at all, please try on a full updated system and systemd-225
Comment 5 Harris Landgarten 2015-09-07 20:29:27 UTC
I doubt this had anything to do with systemd. This issue appeared when I could not get the new gdm from gnome-3.16 to work. As a work around I was booting to multiuser and using startx or setting /etc/gdm/custom.conf for autologin.

Since I fixed gdm by removing some old, left over, config files from earlier gdms, this issue went away.