[pkg-go] Bug#989145: Please do not use uml fakemachine backend in the DEP-8 test

Steve Langasek steve.langasek at canonical.com
Mon Oct 24 12:47:10 BST 2022


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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20221024/84786e87/attachment.sig>


More information about the Pkg-go-maintainers mailing list