for f9, missing file in the test vserver, causes postgresql init script to fail
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 19 Sep 2008 16:51:06 +0000 (16:51 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 19 Sep 2008 16:51:06 +0000 (16:51 +0000)
vbuild-init-vserver.sh

index 31514cb..44083ad 100755 (executable)
@@ -296,6 +296,9 @@ function post_install_myplc  () {
 # be careful to backslash $ in this, otherwise it's the root context that's going to do the evaluation
     cat << EOF | $personality vserver $VERBOSE $vserver exec bash -x
 
+    # create /etc/sysconfig/network if missing
+    [ -f /etc/sysconfig/network ] || echo NETWORKING=yes > /etc/sysconfig/network
+
     # create symlink for /dev/fd
     [ ! -e "/dev/fd" ] && ln -s /proc/self/fd /dev/fd