Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213798 - sys-cluster/vzctl has no predefined way to disable module loading while starting
Summary: sys-cluster/vzctl has no predefined way to disable module loading while starting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Peter Volkov (RETIRED)
URL: http://bugzilla.openvz.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 09:26 UTC by Victor Roman Archidona
Modified: 2008-07-14 06:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Roman Archidona 2008-03-18 09:26:45 UTC
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.
Comment 1 Victor Roman Archidona 2008-03-18 09:31:12 UTC
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 ~ # 
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-05-13 10:21:41 UTC
Added URL to upstream bug tracker.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2008-07-14 06:12:40 UTC
Thank you for report. This bug should be fixed in vzctl-3.0.22-r1. FIXED.