From 775b965f86f890f93c3f27905a4ab7252e719c81 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 30 Apr 2013 09:46:01 +0000 Subject: - skip comments in /etc/crypttab (mga#9905) --- perl-install/NEWS | 2 ++ perl-install/fs/dmcrypt.pm | 1 + perl-install/install/NEWS | 1 + 3 files changed, 4 insertions(+) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index de62e0863..75e8bb911 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- skip comments in /etc/crypttab (mga#9905) + Version 15.46 - 29 April 2013 - logdrake: diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm index 0e5c3c19e..0cb73a848 100644 --- a/perl-install/fs/dmcrypt.pm +++ b/perl-install/fs/dmcrypt.pm @@ -33,6 +33,7 @@ sub read_crypttab_ { my @raw_parts = grep { fs::type::isRawLUKS($_) } fs::get::really_all_fstab($all_hds); foreach (cat_($crypttab)) { + next if /^#/; my ($dm_name, $dev) = split; my $raw_part = fs::get::device2part($dev, \@raw_parts) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index eb38f6fc1..eab455d2f 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- skip comments in /etc/crypttab (mga#9905) - services: o list 'shorewall-ipv6' along 'shorewall' -- cgit v1.2.1