Wednesday 9 September 2020

Re: Launchpad builder VMs upgraded to bionic

[Restoring CC of launchpad-users@ - not sure why this was dropped.]

On Wed, Sep 09, 2020 at 03:25:04PM -0700, Steve Langasek wrote:
> On Wed, Sep 09, 2020 at 10:33:00AM +0100, Dimitri John Ledkov wrote:
> > I have not tried this, but i think one should be able to create a
> > snippet in /etc/security/limits.d/ with like
>
> > * soft memlock unlimited
> > * hard memlock unlimited
>
> > Or to the appropriate value of 64*1024 instead of unlimited.
>
> Which should only take effect for things which are part of PAM sessions that
> have invoked pam_limits. I don't think this would be true for the builders?

Correct - pam_limits isn't going to be involved here. Would something
involving DefaultLimitMEMLOCK= do the job, maybe?

--
Colin Watson (he/him) [cjwatson@canonical.com]

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel