X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=config.planetlab%2Fbootstrapfs.post;h=a11afce9c23b14b59ff788502ad1890ccc7b3996;hb=46939c3c866794940b11d7fdf3abb945b23dc22c;hp=2e13ef88fd74ca843dc9d590c4e781a1813c9eda;hpb=81c86b738f24d65f8a99427b33587f1d1e76ea82;p=build.git diff --git a/config.planetlab/bootstrapfs.post b/config.planetlab/bootstrapfs.post index 2e13ef88..a11afce9 100644 --- a/config.planetlab/bootstrapfs.post +++ b/config.planetlab/bootstrapfs.post @@ -15,18 +15,26 @@ rm -rf ${vdir}/etc/yum.conf ${vdir}/etc/yum.repos.d chroot ${vdir} /sbin/chkconfig firstboot off || : # NOTE: we're enabling util-vserver to allow it to help shutdown all slices # before rebooting. This has been problematic in the past -# chroot ${vdir} /sbin/chkconfig util-vserver off || : +chroot ${vdir} /sbin/chkconfig util-vserver off || : # enabling network as it ends up turned off on systems that come with NetworkManager, starting with fedora9 chroot ${vdir} /sbin/chkconfig network on || : # and turn off NetworkManager if present, as it quite obviously messes with network chroot ${vdir} /sbin/chkconfig NetworkManager off || : # turn OFF vservers-default ; this is to automatically restart vservers, let nm do that -# chroot ${vdir} /sbin/chkconfig vservers-default off || : +chroot ${vdir} /sbin/chkconfig vservers-default off || : # turn ON 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 || : +chroot ${vdir} /sbin/chkconfig fprobe-ulog on || : + +# turn off cgconfig +chroot ${vdir} /sbin/chkconfig cgconfig off || : + +# turn ON lxc-reference. +chroot ${vdir} /sbin/chkconfig lxc-reference on || : + # turn OFF selinux if set # this may happen accidentally if you mention too much stuff in bootstrapfs.pkgs for file in /etc/sysconfig/selinux /sbin/load_policy; do