NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/55157: Request: cgd: timeout on waiting for passphrase



The following reply was made to PR bin/55157; it has been noted by GNATS.

From: Alexander Nasonov <alnsn%yandex.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, schaecsn%gmx.net@localhost
Subject: Re: bin/55157: Request: cgd: timeout on waiting for passphrase
Date: Tue, 28 Apr 2020 00:00:42 +0100

 Stefan Schaeckeler wrote:
 >  A user might enter the passphrase quite late and the timeout may happen while
 >  cdgconfig decrypts the device. Cdgconfig should not be killed in that stage.
 
 A user might run out of time while trying to correct a typo. You
 can't rely on timeouts (especially if you don't see a countdown
 and you have no idea how much time you have).
 
 >  Also, the follow-up problems are not solved. The two services
 >  /etc/rc.d/fsck and /etc/rc.d/mountall will fail accessing /dev/cgd*.
 
 I don't think our rc(8) is designed to handle fallbacks. If something
 goes wrong, we drop to a single-user shell.
 
 -- 
 Alex
 


Home | Main Index | Thread Index | Old Index