HI Jim,
We've got a forum user using Distrobox with an arch image who is getting
an error that '<username> is not in sudoers' file. I found a thread a
couple months ago on Reddit reporting this as well, and it seemed to be
thought that this was likely an issue with the arch image.
But I'm trying this with Tumbleweed as well (both as 'host' and 'guest'),
and sudo is prompting for the root password, but isn't accepting it. I've
tried just about everything I can think of for a password, and it's simply
not accepting anything that would be valid on this system.
I had been able to run sudo within distrobox previously (used it to
install software with zypper, for example) - but I had been using an older
image that I since have gotten rid of for the current one.
Creating the container with '--absolutely-disable-root-password-i-am-
really-positively-sure' lets sudo work, but is not a secure workaround.
I'm wondering if this could be related to config files moving to /usr/etc
from /etc.
Any tips on how to troubleshoot would be appreciated.
--
Jim Henderson
Please keep on-topic replies on the list so everyone benefits
Some time ago, I discovered that mounting /var/lib/flatpak with nosuid and nodev broke toolbox in unexpected ways. I reported it and others confirmed it, but there has been no movement to my knowledge. Perhaps, something similar is happening here, but with distrobox and some other directory.
-- Tony