From 95aae5629410f778b080418d77381463bb228950 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 19 Sep 2008 16:51:06 +0000 Subject: [PATCH] for f9, missing file in the test vserver, causes postgresql init script to fail --- vbuild-init-vserver.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vbuild-init-vserver.sh b/vbuild-init-vserver.sh index 31514cb7..44083adf 100755 --- a/vbuild-init-vserver.sh +++ b/vbuild-init-vserver.sh @@ -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 -- 2.43.0