Add persistdir for centos5 and make sure the syslog daemon is enabled.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 29 Jun 2008 15:42:31 +0000 (15:42 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 29 Jun 2008 15:42:31 +0000 (15:42 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2722 94cd875c-1c1d-0410-91d2-eb244daf1a30

distrib/centos5/yum/yum.conf
distrib/redhat/initpost

index 952f111..d5e34e8 100644 (file)
@@ -8,3 +8,4 @@ pkgpolicy=newest
 distroverpkg=centos-release
 installonlypkgs=
 exactarch=0
+persistdir=@YUMLIBDIR@
index 48d5e97..92f79bb 100755 (executable)
@@ -54,7 +54,9 @@ pushd "$vdir"/etc/init.d &>/dev/null ||
        test -e "$i" || continue
        case "$i" in
            functions|halt|killall|single) ;;
-           syslog|rsyslog) ;;
+           syslog|rsyslog)
+               $_VSERVER "$1" chkconfig "$i" on
+               ;;
            *)
                $_VSERVER "$1" chkconfig "$i" off
                ;;