Problem with 'sudo': Is my system broken?
-
Hello,
while trying to get a shell running in a Libertine container on my Volla Phone, I did this:
phablet@ubuntu-phablet:~$ sudo libertine-launch -i xenial bash ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. sudo: /usr/bin/sudo must be owned by UID 0 and have the »setuid« bit set
But there seems to be no problem if I do something like this:
phablet@ubuntu-phablet:~$ sudo su [sudo] password for phablet: root@ubuntu-phablet:/home/phablet#
Checking sudo rights gives me:
phablet@ubuntu-phablet:~$ ls -l /usr/bin/sudo -rwsr-xr-x 1 root root 132576 Jan 20 2021 /usr/bin/sudo
Is this enough information to tell, if my system is messed up? When searching the web it seems like I'll have to newly set up the whole system since this is hardly repairable.
What am I supposed to do?Thanks in advance
-
Why are you trying to use sudo with libertine? Indeed you should not install sudo inside the libertine container, nor should you run either
libertine-container-manager
norlibertine-launch
with sudo.It seems you've installed sudo in the container, and thus now that container is broke. You'll need to destroy it and create a new container and never install sudo in it.
If you want a "root" shell in a libertine container, you can use
libertine-container-manager exec -c bash
though this is just fakeroot, and not a real root, as the libertine container is unprivileged. -
@dobey thanks for your answer. I did, waht you suggested and got
phablet@ubuntu-phablet:~$ libertine-container-manager exec -c bash groups: cannot find name for group ID 1001 groups: cannot find name for group ID 1002 groups: cannot find name for group ID 1003 groups: cannot find name for group ID 1004 groups: cannot find name for group ID 1005 groups: cannot find name for group ID 1013 groups: cannot find name for group ID 1015 groups: cannot find name for group ID 1021 groups: cannot find name for group ID 2001 groups: cannot find name for group ID 3002 groups: cannot find name for group ID 3003 groups: cannot find name for group ID 3004 groups: cannot find name for group ID 9997 groups: cannot find name for group ID 32011 root@ubuntu-phablet:/#
Does that look right?
I then tried to install flatpak and failed, since the package wasn't found.
Before I try further, is it possible to use flatpak inside the conrainer?Thanks again
-
@jojumaxx said in Problem with 'sudo': Is my system broken?:
Before I try further, is it possible to use flatpak inside the conrainer?
It's not really supported, and I think maybe flatpak is not available in Ubuntu 16.04.
-
@dobey Thank you for your help!
-
-
-