summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-03-06 18:46:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-03-06 18:46:16 +0000
commiteec19aa5d716991ebac09ad5c8b12ca7b9d151d1 (patch)
tree627afe4eeb3e90d94caee56920e2e2ecd39c06f1
parent07865136dc37ef8d499efa696f68b4cb624bf294 (diff)
downloaddrakx-backup-do-not-use-eec19aa5d716991ebac09ad5c8b12ca7b9d151d1.tar
drakx-backup-do-not-use-eec19aa5d716991ebac09ad5c8b12ca7b9d151d1.tar.gz
drakx-backup-do-not-use-eec19aa5d716991ebac09ad5c8b12ca7b9d151d1.tar.bz2
drakx-backup-do-not-use-eec19aa5d716991ebac09ad5c8b12ca7b9d151d1.tar.xz
drakx-backup-do-not-use-eec19aa5d716991ebac09ad5c8b12ca7b9d151d1.zip
do not allow encrypted /var
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
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);