Empty lines cause an error in /etc/crypttab

Bug #11358 reported by Asko Kauppi
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Low
Martin Pitt

Bug Description

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?

Revision history for this message
Martin Pitt (pitti) wrote :

This is already fixed in the Hoary version of 'cryptsetup'.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.