Package: autopkgtest
Version: 5.22
Severity: normal

At present, autopkgtest-build-lxc creates a container which only has
system users listed in /etc/passwd.  This means that
autopkgtest-virt-lxc runs all tests as root, which is probably not the
best of ideas, as it's not a "typical use" of most packages.

My suggestion is to include a command such as:

adduser --disabled-password --gecos "Normal user," user

in /usr/share/autopkgtest/setup-commands/setup-testbed so that there
is a non-root user in the virtual environment (though I'm not sure
this is correct for virtualisation systems other than lxc, so maybe
that's the wrong place to add this user-creation command).

Best wishes,

   Julian

Reply via email to