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: Stefan Schaeckeler <schaecsn%gmx.net@localhost>
To: gnats-bugs%netbsd.org@localhost, alnsn%yandex.ru@localhost
Cc: gnats-admin%netbsd.org@localhost,netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/55157: Request: cgd: timeout on waiting for passphrase
Date: Sun, 26 Apr 2020 18:32:04 -0700 (PDT)

 >  > I introduce a timeout flag for cgdconfig. A timeout can be configured=
  in
 >  > /etc/rc.conf via
 >  > cgd_flags=3D3D"-t 60"
 >
 >  Would timeout(1) work for you?
 
 A user might enter the passphrase quite late and the timeout may happen wh=
 ile
 cdgconfig decrypts the device. Cdgconfig should not be killed in that stag=
 e.
 
 Also, the follow-up problems are not solved. The two services /etc/rc.d/fs=
 ck
 and /etc/rc.d/mountall will fail accessing /dev/cgd*.
 
  Stefan
 


Home | Main Index | Thread Index | Old Index