You are not logged in.
Hi,
I have an Arch installation with full-disk encryption and out of curiosity tried to break out of cryptsetup password prompt by pressing Ctrl-C, Ctrl-Z, etc... but unsuccessfully. AFAICT, the call to cryptsetup binary is located in /usr/lib/initcpio/hoks/encrypt viz:
if [ ${dopassphrase} -gt 0 ]; then                                          
        echo ""                                                                 
        echo "A password is required to access the ${cryptname} volume:"        
                                                                                
        #loop until we get a real password                                      
        while ! eval cryptsetup open --type luks ${resolved} ${cryptname} ${cryp
            sleep 2;                                                            
        done                                                                    
 fiThis is just busybox ash script, so why can't I, for example, put cryptsetup to background with Ctrl-Z or kill it with Ctrl-C? Am I missing something well-known here?
Thanks!
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
OK, this is related to the lack of a controlling tty for the init script, as explained here http://lists.busybox.net/pipermail/busy … 62095.html
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline