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