Hello,
When running an Arch Linux container, the session opened with
More interestingly, none of
I tried to change the CT option
I couldn't find any help when searching the net for a solution, apart from this page in Archlinux forum, which refers to part of LXC source code, and seems to (maybe?) indicate "incompatible nss implementations" between the host and the guest.
I also tried to create containers with others distros (Ubuntu, Debian, Alpine), but the issue did not appear there, only with Arch.
Finally, it has to be noticed that running
Do you see any way to correct this problem, or could you please help me investigating further?
Many thanks in advance for your help.
When running an Arch Linux container, the session opened with
pct enter
is systematically /bin/sh
, although /etc/passwd
specifies /bin/bash
for the root user.More interestingly, none of
/etc/bash.bashrc
, ~/.bashrc
, /etc/profile
, ~/.bash_profile
, ~/.profile
, ... gets executed, although it should be the case according to the Archwiki / Bash page.I tried to change the CT option
--cmode
, use both a template from Proxmox or Linux Containers, but I'm still facing the same issue.I couldn't find any help when searching the net for a solution, apart from this page in Archlinux forum, which refers to part of LXC source code, and seems to (maybe?) indicate "incompatible nss implementations" between the host and the guest.
I also tried to create containers with others distros (Ubuntu, Debian, Alpine), but the issue did not appear there, only with Arch.
Finally, it has to be noticed that running
pct exec CTID /bin/bash
will properly open a bash session though, but I would really want to avoid this, as I systematically use pct enter
with all my other containers.Do you see any way to correct this problem, or could you please help me investigating further?
Many thanks in advance for your help.