machinectl shell .bashrc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

somehow, when using machinectl shell to access my nspawn containers, my .bashrc is ignored, although bash is correctly used as my shell. However, when specifying /bin/bash explicitly, the .bashrc gets sourced correctly. Any ideas?

lukas@home:~$ sudo machinectl shell x11
Connected to machine x11. Press ^] three times within 1s to exit session.
[root@x11 ~]# echo $HISTFILESIZE; echo $0;
500
/bin/bash
[root@x11 ~]# 
logout
Connection to machine x11 terminated.
lukas@home:~$ sudo machinectl shell x11 /bin/bash
Connected to machine x11. Press ^] three times within 1s to exit session.
root@x11:~# echo $HISTFILESIZE; echo $0;

/bin/bash
root@x11:~# 
exit
Connection to machine x11 terminated.
lukas@home:~$ 

Thanks,
lukaro


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux