OpenVZ Forum


Home » General » Support » vztmpl-centos-5-2.0-3.i386.rpm
icon12.gif  Re: vztmpl-centos-5-2.0-3.i386.rpm [message #32840 is a reply to message #32657] Tue, 02 September 2008 02:47 Go to previous message
ft.linux is currently offline  ft.linux
Messages: 6
Registered: August 2008
Junior Member
Smile

vi /vz/template/centos/5/i386/config/install.post

The following is no longer required as there is no separate klogd daemon in rsyslog:

# Disable klogd
#$VZCTL exec2 $VEID \
# "sed -i -e 's/daemon\\ klogd/passed\\ klogd\\ skipped/' \
# -e 's/killproc\\ klogd/passed\\ klogd\\ skipped/' \
# /etc/init.d/syslog"
# FIXME: fix '/etc/init.d/syslog status' to return 0
# even if klogd is not running


Change the /etc/syslog.conf to /etc/rsyslog.conf in the following area of the file:

# Disable fsync() in syslog
$VZCTL exec2 $VEID \
'sed -i -e s@\\\([[:space:]]\\\)\\\(/var/log/\\\)@\\\1-\\\2@' \
/etc/rsyslog.conf


Now your templates should build perfectly.
 
Read Message
Read Message icon12.gif
Previous Topic: vzquota taking 1.2GB of actual memory upon startup
Next Topic: OpenVZ and Tyan Thunder n3600m s2932 motherboard
Goto Forum:
  


Current Time: Sun Aug 17 19:54:12 GMT 2025

Total time taken to generate the page: 0.37494 seconds