Bug#987316: Fwd: Re: Bug#987316: initscripts: tmpfs has wrong size

Roger Lynn Roger at rilynn.me.uk
Wed Apr 21 22:18:31 BST 2021

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 <Roger at rilynn.me.uk>
To: Thorsten Glaser <t.glaser at 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?



More information about the Debian-init-diversity mailing list