On Sun, 07 May 2017 13:38:11 +0100 J M Cerqueira Esteves <jmce@artenumerica.com> wrote: > 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), Since wheezy, the minimum requiremensts are 256M of RAM: https://www.debian.org/releases/wheezy/amd64/ch03s04.html.en > 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. You can add a entry to /etc/fstab which specifies the desired amount of RAM for /run. systemd will remount /run with the size you set very early during boot. I don't think a separate config option is necessary. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Attachment:
signature.asc
Description: OpenPGP digital signature