From a07bd7ea2dcc27a083307d6329109a7abdec6f02 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 22 Aug 2010 19:27:24 +0200 Subject: bindmount can't be mounted ro, if source is mounted rw --- os-plugins/OpenSLX/OSPlugin/Engine.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os-plugins') 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'}, $! -- cgit v1.2.3-55-g7522