When I have swapfile in a file /swap0 it is activated before the checkroot script starts, thus checkroot is unable to remount / ro and check it. Bootup is stopped asking for a root password to fix the problem. Reproducible: Always Steps to Reproduce: 1. Create a swapfile is /swap and add to fstab 2. Reboot
I experience the same problem. The problem appears to be that loopback swap files are mounted during /etc/init.d/localmount, which runs before /etc/init.d/checkroot. Possible solutions: - Pull the call to swapon out of localmount and place it in its own script which runs after checkroot. - Wrap checkroot with calls to swapoff and swapon
no, the issue is that /sbin/rc runs `/sbin/swapon -a` and then loads the 'critical services', the first of which is 'checkroot'
It happens with me too. My temporary solution was comment the following lines from /sbin/rc: ebegin "Activating (possible) swap" /sbin/swapon -a &> /dev/null eend 0 Then, the swap only mounts when localmount script is called (? for aditional swaps /weirdness ?), after checkroot has passed. With best regards Giovanni
This will be fixed in baselayout-1.12.1
*** Bug 121118 has been marked as a duplicate of this bug. ***
Fixed