On Tue, Jul 28, 2020 at 3:13 PM Mike Gilbert <flop...@gentoo.org> wrote:
>
> On Tue, Jul 28, 2020 at 2:50 PM Zoltan Puskas <zol...@sinustrom.info> wrote:
> >
> > Hi,
> >
> > I've upgraded to and running systemd-246_rc2 on one of my systems and
> > noticed that tmpfs mounted directories are significantly smaller.
> >
> > This is because with commit
> > https://github.com/systemd/systemd/commit/7d85383edbab73274dc81cc888d884bb01070bc2
> > they have changed them to be 10% of the physical memory instead of the
> > default of 50%.
> >
> > This is a potentially breaking, or at least an unexpected behaviour
> > change, especially for people using tmpfs on /tmp for compiling.
> >
> > Maybe we should make a news item to let people know that they either
> > need to add an fstab entry with size option set, or better, create a
> > systemd local override with relevant content.
>
> Don't use /tmp for PORTAGE_TMPDIR. /tmp is meant for small temporary
> storage. If you want to compile in a tmpfs, set up a separate mount
> point for it.
>
> I don't intend to create a news item for this, but I would not object
> to someone else doing it.

Also, the limit for /tmp is likely to change again before the 246 final release.

https://github.com/systemd/systemd/pull/16576

Reply via email to