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



>  > I introduce a timeout flag for cgdconfig. A timeout can be configured in
>  > /etc/rc.conf via
>  > cgd_flags=3D"-t 60"
>
>  Would timeout(1) work for you?

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.

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*.

 Stefan


Home | Main Index | Thread Index | Old Index