empty lines in /etc/crypttab

Asko Kauppi asko.kauppi at sci.fi
Tue Dec 21 14:32:20 UTC 2004


[ I failed to file a bug on this in bugzilla, "must select component!" 
- what component?!?  If you want people to use bugzilla, please make it 
easy first.. ]

Currently, the /etc/init.d/cryptdisk script expects any non-data lines 
to be comments ('^#'). It should allow for empty lines, too:

    grep -v '^#' < $TABFILE | grep -v '^[:space:]*$' | while read dst 
src key opt; do

Without this, empty lines in '/etc/crypttab' will cause weird "missing 
parameter" output in bootup. Non-destructive, but gives the "oops, all 
is not as it should!" feeling. Anyhow, this should be fixed?

-ak





More information about the ubuntu-users mailing list