From eec19aa5d716991ebac09ad5c8b12ca7b9d151d1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 6 Mar 2002 18:46:16 +0000 Subject: do not allow encrypted /var --- perl-install/fsedit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 3a70281f9..d973adeb3 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -486,7 +486,7 @@ sub check_mntpoint { die _("You need a true filesystem (ext2, reiserfs) for this mount point\n") if !isTrueFS($part) && member($mntpoint, qw(/ /home /tmp /usr /var)); die _("You can't use an encrypted file system for mount point %s", $mntpoint) - if $part->{options} =~ /encrypted/ && member($mntpoint, qw(/ /usr)); + if $part->{options} =~ /encrypted/ && member($mntpoint, qw(/ /usr /var)); local $part->{mntpoint} = $mntpoint; loopback::check_circular_mounts($hd, $part, $all_hds); -- cgit v1.2.1