Sorry, I failed to send this to the bug. Resending...
-------- Forwarded Message -------- Subject: Re: Bug#987316: initscripts: tmpfs has wrong size Date: Wed, 21 Apr 2021 22:11:12 +0100 From: Roger Lynn <ro...@rilynn.me.uk> To: Thorsten Glaser <t.gla...@tarent.de> On 21/04/2021 18:38, Thorsten Glaser wrote:
• add “set -x” as first and “set +x” as last line to /lib/init/tmpfs.sh • perhaps also add “grep Total /proc/meminfo” in there for extra debugging • reboot with serial console, so we can actually capture all the debug messages I suspect one of the operations involved fails for you, or swap is initialised later. Hrm.
Swap is apparently initialised later. There are three calls to that script recorded by bootlogd and on all of them SwapTotal is 0 kB. It then prints the lines for "Mounting local filesystems", "Activating swapfile swap, if any" and "Cleaning up temporary files". Do you still need the full debug output?
Regards, Roger