From: Daniel Hokka Zakrisson Date: Sun, 29 Jun 2008 15:42:31 +0000 (+0000) Subject: Add persistdir for centos5 and make sure the syslog daemon is enabled. X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da616f0fdacc16d1301483345fb2552a1b7e4b04;p=util-vserver.git Add persistdir for centos5 and make sure the syslog daemon is enabled. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2722 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/distrib/centos5/yum/yum.conf b/distrib/centos5/yum/yum.conf index 952f111..d5e34e8 100644 --- a/distrib/centos5/yum/yum.conf +++ b/distrib/centos5/yum/yum.conf @@ -8,3 +8,4 @@ pkgpolicy=newest distroverpkg=centos-release installonlypkgs= exactarch=0 +persistdir=@YUMLIBDIR@ diff --git a/distrib/redhat/initpost b/distrib/redhat/initpost index 48d5e97..92f79bb 100755 --- a/distrib/redhat/initpost +++ b/distrib/redhat/initpost @@ -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 ;;