On Mon, Oct 24, 2022 at 12:37:36PM +0100, Christopher Obbard wrote:

> > > 1) modify the build-chroot autopkgtest to use --disable-fakemachine in
> > > the debos call and remove the additional dependencies (e.g.  just
> > > running on the host, this will need Restrictions: needs-sudo)

> > I think you meant "needs-root" restriction here, right?

> Well, either works for me, but typically a user who is using debos with
> --disable-fakemachine will use sudo to elevate privileges rather than
> running as the root account. This will make the test better reflect
> reality. Does it make sense to use needs-sudo in this case?

I'm not sure if Debian infrastructure implements support for the needs-sudo
restriction to start the tests as non-root.  Ubuntu's infrastructure does
not.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

Reply via email to