diff options
author | Sebastian | 2010-08-22 19:27:24 +0200 |
---|---|---|
committer | Sebastian | 2010-08-22 19:27:24 +0200 |
commit | a07bd7ea2dcc27a083307d6329109a7abdec6f02 (patch) | |
tree | aa6b97cb454a44632984dc2a1d705a3905c0fd3a /os-plugins | |
parent | update libs.. (diff) | |
download | core-a07bd7ea2dcc27a083307d6329109a7abdec6f02.tar.gz core-a07bd7ea2dcc27a083307d6329109a7abdec6f02.tar.xz core-a07bd7ea2dcc27a083307d6329109a7abdec6f02.zip |
bindmount can't be mounted ro, if source is mounted rw
Diffstat (limited to 'os-plugins')
-rw-r--r-- | os-plugins/OpenSLX/OSPlugin/Engine.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os-plugins/OpenSLX/OSPlugin/Engine.pm b/os-plugins/OpenSLX/OSPlugin/Engine.pm index 4fbf3209..25827205 100644 --- a/os-plugins/OpenSLX/OSPlugin/Engine.pm +++ b/os-plugins/OpenSLX/OSPlugin/Engine.pm @@ -673,7 +673,7 @@ sub _callChrootedFunctionForPlugin acquire => sub { # bind mount perl includes, openslx base and config paths into vendor-OS foreach (@bindmounts) { - slxsystem("mount -o bind -o ro $_->{'source'} $_->{'target'}") == 0 + slxsystem("mount -o bind $_->{'source'} $_->{'target'}") == 0 or die _tr( "unable to bind mount '%s' to '%s'! (%s)", $_->{'source'}, $_->{'target'}, $! |