[systemd-devel] users and per user limits (tmpfs)

Michał Piotrowski mkkp4x4 at gmail.com
Tue Apr 28 02:48:17 PDT 2015


Hi,

2015-04-28 11:39 GMT+02:00 Lennart Poettering <mzerqung at 0pointer.de>:

> On Tue, 28.04.15 00:55, Michał Zegan (webczat_200 at poczta.onet.pl) wrote:
>
> > Hello.
> >
> > I have discovered how to add resource limits for the user, like how
> > much memory the user can use, or how much cpu time.
> > Here is the problem: /tmp seems a way for the user to circumvent this
> > restriction. Is there a way to protect it too?
>
> Nope. There have been discussions for adding quota to tmpfs, but this
> lead nowhere.
>

https://bugzilla.redhat.com/show_bug.cgi?id=693253


>
> You can disable tmpfs-on-/tmp, and run it on xfs or ext4 instead and
> use classic per-user quota though.
>
> Lennart
>
> --
> Lennart Poettering, Red Hat
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>



-- 
Best regards,
Michal

http://eventhorizon.pl/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150428/cd430306/attachment.html>


More information about the systemd-devel mailing list