libertine Focal don't find group ID
-
Hi,
I've install focal OTA-1 on my volla phone.
I've create a new libertine container$ libertine-container-manager create -i focal
I can start firefox as well https, youtube...
But when, I would manage my containerphablet@ubuntu-phablet:~$ LC_ALL=C libertine-container-manager exec -i focal -c "/bin/bash" groups: cannot find name for group ID 32011
Same thing as user shell :
phablet@ubuntu-phablet:~$ LC_ALL=C libertine-launch -i focal /bin/bash groups: cannot find name for group ID 32011 I have no name!@ubuntu-phablet:~
Someone use libertine focal ?
-
fixed with editing /etc/nsswitch.conf into libertine chroot
passwd: files extrausers group: files extrausers shadow: files extrausers gshadow: files hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
instead
passwd: files systemd group: files systemd shadow: files gshadow: files hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
But I can't have a root shell with :
libertine-container-manager exec -i focal -c "/bin/bash"
I've got a user shell
-
-
@Bouleetbil
I struggled with getting a root shell as well and tried many things, but suddenly found a quite easy way:
after logging in to the libertine focal container withlibertine-container-manager exec -i focal -c "/bin/bash"
type the command "fakeroot" and press return. I could then run apt within the container without the dpkg "requires superuser" errors.
or it is possible to use the following command to log in to libertine with user root:
libertine-container-manager exec -i focal -c "/bin/fakeroot"
EDIT: it might only work for libertine containers of type 'chroot'. (-t chroot when creating the container)
-