From c2dd485df635e6be732c1623fa7ebf841302340f Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 17 Mar 2012 23:42:31 +0000 Subject: Kill unionfs support --- iurt_root_command | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iurt_root_command') diff --git a/iurt_root_command b/iurt_root_command index 544ddbc..b02f5ad 100755 --- a/iurt_root_command +++ b/iurt_root_command @@ -35,7 +35,7 @@ my $arg = @ARGV; my (@params, %run); $run{program_name} = $program_name; -my %authorized_modules = ('unionfs' => 1); +my %authorized_modules = (); my %authorized_rw_bindmounts = (map { $_ => 1 } qw(/proc /dev/pts /var/cache/icecream)); $run{todo} = []; @@ -213,7 +213,7 @@ sub mkdir { my ($_run, $opt, @dir) = @_; foreach my $path (@dir) { -d $path and next; - if ($path =~ m,/dev|/proc|/root|/var, && $path !~ /chroot|unionfs/) { + if ($path =~ m,/dev|/proc|/root|/var, && $path !~ /chroot/) { plog('FAIL', "ERROR: $path creation forbidden"); } if ($opt->{parents}) { -- cgit v1.2.1