[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#862013: initramfs-tools-core: /run tmpfs size hardcoded at 10% RAM, but 16.0 MiB free required in /run/systemd



Package: initramfs-tools-core
Version: 0.130
Severity: important

In a virtual machine with 160 MiB RAM, running a freshly installed Debian stretch system (i686),
got messages like this logged from (at least) sh and ifup:

   "Failed to reload daemon: Refusing to reload, not enough space available on /run/systemd.
    Currently, 15.6M are free, but a safety buffer of 16.0M is enforced."

I noticed that /usr/share/initramfs-tools/init  mounts /run specifying "size=10%".

To prevent this issue in machines low on RAM, it would be nice for the /run tmpfs size
to be automatically set taking into account systemd's minimum requirement.  Or, at least,
to have this size as a nicely (/etc/...) configurable parameter with some warning on README.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386
 (i686)

Kernel: Linux 4.9.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initramfs-tools-core depends on:
ii  cpio         2.11+dfsg-6
ii  klibc-utils  2.0.4-9
ii  kmod         23-2
ii  udev         232-22

Versions of packages initramfs-tools-core recommends:
ii  busybox  1:1.22.0-19+b3

Versions of packages initramfs-tools-core suggests:
ii  bash-completion  1:2.1-4.3

-- no debconf information


Reply to: