On Wed, Sep 09, 2020 at 10:33:00AM +0100, Dimitri John Ledkov wrote: > > Failing that, can somebody advise on whether there's an appropriate way > > to configure this in an image without having to maintain a fork of > > systemd? The workflow here is that we consume Ubuntu cloud images and > > make a few small changes to them, mostly things like installing > > launchpad-buildd, before publishing them to Glance for use when starting > > new builder VMs.
> 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? -- 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
signature.asc
Description: PGP signature
-- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel