Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100931 - vserver init script enhancement, start list of vservers
Summary: vserver init script enhancement, start list of vservers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 13:41 UTC by Mike Williams
Modified: 2005-08-03 11:34 UTC (History)
0 users

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


Attachments
start each of a list of vservers (init.d-vservers.diff,979 bytes, patch)
2005-07-31 13:42 UTC, Mike Williams
Details | Diff
conf.d update (conf.d-vservers.diff,567 bytes, patch)
2005-07-31 13:43 UTC, Mike Williams
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Williams 2005-07-31 13:41:52 UTC
TBH, I don't actually know what MARKs are, but I only wanted certain vservers 
to automagically get started. 
Following are some patches to the vserver init script, and conf.d file, to 
iterate over a space separated list of vserver names, checking for a config 
and vserver directory.
Comment 1 Mike Williams 2005-07-31 13:42:48 UTC
Created attachment 64817 [details, diff]
start each of a list of vservers
Comment 2 Mike Williams 2005-07-31 13:43:32 UTC
Created attachment 64818 [details, diff]
conf.d update
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2005-07-31 15:26:29 UTC
i will put this patch into the next release of util-vserver, but maybe it'd be 
better to continue instead of break if a vserver config does not exist... 
Comment 4 Mike Williams 2005-07-31 15:59:45 UTC
Hey, thanks! 
You're right, my intention was for it to continue, and changing the break to 
continue makes it work properly. 
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2005-08-03 11:34:05 UTC
this is in cvs