Bug#337444: Pause on sulogin failure

Simon Richter Simon.Richter at hogyros.de
Mon Nov 12 09:20:16 GMT 2018


Hi,

On 11.11.2018 22:08, Dmitry Bogatov wrote:

>> I have changed checkroot.sh and checkfs.sh to add a 5 second pause
>> on sulogin failure.  More should be done to checkfs.sh since, there,
>> the script continues booting after the sulogin instead of rebooting.

> Why would it be wrong to call /sbin/reboot -f?

That would give us a reboot loop. There is no "good" solution here,
ideally we'd stop and let the admin see the error, but if sulogin fails,
we're already deep in "broken system" territory. The five second pause
is probably the least annoying option.

   Simon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20181112/4df373b6/attachment.sig>


More information about the Debian-init-diversity mailing list