Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Slackware template creation

131 bytes added, 08:54, 28 May 2011
Edit /etc/rc.d/rc.syslog
Compressing it is easy:
<pre>
tar --numeric-owner -czf /slackware.tgz --exclude /slackware.tgz /
</pre>
/bin/rm -f /etc/mtab*
</pre>
This should be line 162(239 - slackware 13.1). This will forbid Slackware to delete our symlink at every reboot.
==== Edit /etc/rc.d/rc.syslog ====
</pre>
These should be lines 11, 12, 15 and 21. This will prevent <tt>klogd</tt> (which is usually not needed) from starting at boot time.
 
Slackware 13.1 (12.0 and newest)
<pre>
chmod -x /vz/private/777/etc/rc.d/rc.syslog
</pre>
{{Note|if you are going to use iptables rules inside your Slackware containers which will do logging (i.e. the ones with the <tt>LOG</tt> target), you should not disable <tt>klogd</tt>.}}
Anonymous user