From 5928837f45c93cfc4e835c0d225dcb1695144b5c Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 20 Jan 2011 09:46:58 +0100 Subject: [PATCH] turn on the vprocunhide service that is required with our k32 kernel --- config.planetlab/bootstrapfs.post | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config.planetlab/bootstrapfs.post b/config.planetlab/bootstrapfs.post index ff4976f8..d2092e17 100644 --- a/config.planetlab/bootstrapfs.post +++ b/config.planetlab/bootstrapfs.post @@ -19,9 +19,13 @@ done # Remove unneeded services # turn off firstboot if present, might cause the node to hang -for service in vprocunhide vservers-default firstboot; do - chroot ${vdir} /sbin/chkconfig $service off || : -done +chroot ${vdir} /sbin/chkconfig firstboot off || : +# this is to automatically restart vservers, let nm do that +chroot ${vdir} /sbin/chkconfig vservers-default off || : +# vprocunhide is required with kernels that have CONFIG_VSERVER_PROC_SECURE enabled +# which is the case for our k32 kernel +chroot ${vdir} /sbin/chkconfig vprocunhide on || : + # Disable splaying of cron. echo > ${vdir}/etc/sysconfig/crontab -- 2.47.0