From: Thierry Parmentelat Date: Thu, 20 Jan 2011 08:46:58 +0000 (+0100) Subject: turn on the vprocunhide service that is required with our k32 kernel X-Git-Tag: 5.0-rc18~83 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5928837f45c93cfc4e835c0d225dcb1695144b5c;p=build.git turn on the vprocunhide service that is required with our k32 kernel --- 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