Bug#1027915: systemd requires /run to be mounted with a minimum size of 20MB
Helmut Grohne
helmut at subdivi.de
Wed Jan 4 13:26:33 GMT 2023
Control: reassign -1 initramfs-tools-core
Hi Helge,
On Wed, Jan 04, 2023 at 02:08:00PM +0100, Helge Deller wrote:
> My suggestion:
> Please check that the /run mountpoint is mounted with at least 20MB, independend
> of the installed RAM memory in the machine...
Your suggestion makes sense in principle. However, it is
/usr/share/initramfs-tools/init that performs the mount, so that's what
would need changing.
As a workaround for your situation, I suggest adding a kernel parameter
initramfs.runsize=20M.
Would you be able to provide a patch here? I think that if a runsize is
given, it should be honoured, so it would probably work like:
if test -z "$RUNSIZE"; then
if system_has_at_least_200mb_ram; then
RUNSIZE=10%
else
RUNSIZE=20M
fi
fi
Helmut
More information about the Pkg-systemd-maintainers
mailing list