[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/48714: fsck prompts only appear after being answered
The following reply was made to PR bin/48714; it has been noted by GNATS.
From: Alan Barrett <apb%netbsd.org@localhost>
Subject: Re: bin/48714: fsck prompts only appear after being answered
Date: Sun, 6 Apr 2014 20:36:40 +0200
On Sun, 06 Apr 2014, Alan Barrett wrote:
> Interactive rc.d scripts need to be marked with
> "KEYWORD: interactive" to change the way the filtering works.
> This appears to be undocumented.
However, /etc/rc.d/fsck and /etc/rc.d/fsck_root are not intended
to be interactive. They are intended to throw an error that
causes the system to drop to single user mode if there's a
problem. Non-default settings of fsck_flags, as appears to be the
case here, could cause fsck to become interactive.
The meaning of "KEYWORD: interactive" is documented in rc.subr,
by the way, but it is not as clear or easy to find as it should
Another problem is that there's no way to get the "don't wait for
a newline before displaying output" behaviour that's wanted here,
without also getting the unwanted behaviour of "don't log the
output to /var/run/rc.log".
--apb (Alan Barrett)
Main Index |
Thread Index |