]> git.ipfire.org Git - thirdparty/systemd.git/commit
pid1: stop limiting size of /dev/shm
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Jul 2020 11:36:10 +0000 (13:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 30 Jul 2020 16:48:35 +0000 (18:48 +0200)
commitb67ec8e5b2e1a74d7e9a3a2b3ac60b7b2e39d4ea
tree16d7337b9a8029e881a60120442e4b235a207acf
parent2f2c60d7fedc46486a83069163d2cbfc14b4d713
pid1: stop limiting size of /dev/shm

The explicit limit is dropped, which means that we return to the kernel default
of 50% of RAM. See 362a55fc14 for a discussion why that is not as much as it
seems. It turns out various applications need more space in /dev/shm and we
would break them by imposing a low limit.

While at it, rename the define and use a single macro for various tmpfs mounts.
We don't really care what the purpose of the given tmpfs is, so it seems
reasonable to use a single macro.

This effectively reverts part of 7d85383edbab7. Fixes #16617.
src/core/mount-setup.c
src/core/namespace.c
src/nspawn/nspawn-mount.c
src/shared/mount-util.h