[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) [cjwat...@canonical.com] _______________________________________________ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp