I’m running AlmaLinux 9.2 (systemd v.252) on a small embedded(-ish) system, where I like to keep a lot of stuff in /run
. When I was using CentOS7.x this was on the order of 1.5G, and I never really thought about it. However, since we have moved to Alma9, the default size of /run
is only ~720M on the same hardware.
I can set the size by adding a line in /etc/fstab
- but that seems a bit old-fashioned these days. For the /run/user/<uid>
I can set a parameter RuntimeDirectorySize
in /etc/systemd/logind.conf
, but I haven’t found anything similar for the entire /run
.
Surely there must be a systemd-specific way of specifying this?
(The linked question talks primarily about /tmp
- but it turns out to be equally applicable for e.g. /run
.)