FS#51443 - Bash do not loading ~/.bash_profile

Attached to Project: Arch Linux
Opened by Marat Kagarmanov (corvinusz) - Wednesday, 19 October 2016, 16:49 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 19 October 2016, 23:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I've installed SSD-drive to my machine and moved all except /home onto new SSD-partition. I use UEFI boot (if it can help)
After that I found that bash sometimes is not loading ~/.profile.
Now it became too often to ignore.
I moved my definitions from ~/.profile to ~/.bash_profile and that action doesn't help me.
Adding ~/.bash_login with forcible call of ~/.bashrc has solved problem.
(I use standard gnome-shell with gdm and gnome-terminal if it is important)

Additional info:
* package version(s)
bash 4.3.046-1
gnome-shell 3.22.1+2+g5a08886-1
filesystem 2015.09-1

* config and/or log files etc.
See attachments

* workaround
Adding ~/.bash_login with forcible call of ~/.bashrc solves problem for me

Steps to reproduce:
1. Move /home to the other slow device partition
2. Remove ~/.bash_login (if exists)
3. Reboot/relog
4. Check variable from ~/.profile (echo $VISUAL, for example)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 19 October 2016, 23:50 GMT
Reason for closing:  Not a bug
Comment by Dave Reisner (falconindy) - Wednesday, 19 October 2016, 17:25 GMT
This is all working as intended. Please read the INVOCATION section of bash(1).

Loading...