Hi, package sys-cluster/vzctl, the userspace tools for OpenVZ provides an script (/etc/init.d/vz) that must be started before any container. That script checks if the MODULES_DISABLED is set to "yes" to not load kernel modules, usefull for those who don't use kernel loadable modules. For now there isn't a predefined way to set that variable, so I put it usually into /etc/conf.d/vz. This is a request to add that variable in a config file, providing an easy way to disable module loading. In machines which module support isn't compiled the init script fails. Reproducible: Always Steps to Reproduce: 1. build your kernel w/o module support 2. emerge vzctl 3. /etc/init.d/vz start Actual Results: init script does not starts Expected Results: init scripts starts in machines w/ and w/o module support compiled into kernel.
Example using vz and module support not compiled: machine ~ # /etc/init.d/vz start * Caching service dependencies ... [ ok ] * Loading OpenVZ modules ... * failed to load module vzmon [ !! ] machine ~ #
Added URL to upstream bug tracker.
Thank you for report. This bug should be fixed in vzctl-3.0.22-r1. FIXED.