diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-03-17 23:42:31 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-03-17 23:42:31 +0000 |
commit | c2dd485df635e6be732c1623fa7ebf841302340f (patch) | |
tree | 59d54956a3b894eccd98ff01b3dbf2a6789ea885 /iurt_root_command | |
parent | e5fefd376242c7024cce11b6b2e62749aed53bd9 (diff) | |
download | iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar.gz iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar.bz2 iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar.xz iurt-c2dd485df635e6be732c1623fa7ebf841302340f.zip |
Kill unionfs support
Diffstat (limited to 'iurt_root_command')
-rwxr-xr-x | iurt_root_command | 4 |
1 files changed, 2 insertions, 2 deletions
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}) { |