Launchpad builder VMs upgraded to bionic

Dimitri John Ledkov xnox at ubuntu.com
Wed Sep 16 11:02:48 UTC 2020


On Wed, 16 Sep 2020 at 11:35, Colin Watson <cjwatson at canonical.com> wrote:
>
> On Wed, Sep 16, 2020 at 10:22:05AM +0100, Dimitri John Ledkov wrote:
> > chroot builders do call ~= `sudo chroot` at some point.
>
> The main work is done by sbuild, which uses schroot, not "sudo chroot".
>
> (We used to use sbuild's sudo session mode, but I changed that to
> schroot in 2017.)
>
> > would changing limits.d + adding pam_limits to sudo pam config be
> > enough for launchpad-buildd?
>
> I think schroot does support PAM.  However, I don't think it's good
> design for launchpad-buildd to rely on PAM, since after all it's not
> doing any kind of interactive authentication.  I would rather not pursue
> this option any further.  There are other less complicated ways to set
> resource limits.

Are we using PAM today already? Cause on riscv64 builder I started to see

E: PAM error: Authentication token is no longer valid; new one required
Chroot setup failed
E: Error creating chroot session: skipping openssl

from time to time. Or is it just a timing issue?

-- 
Regards,

Dimitri.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildlog_ubuntu-groovy-riscv64.openssl_1.1.1f-1ubuntu4_BUILDING.txt.gz
Type: application/gzip
Size: 5368 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20200916/4ab7b84f/attachment-0001.gz>


More information about the ubuntu-devel mailing list