util-vserver.git
17 years agoremove interactive setup steps
Benedikt Boehm [Fri, 13 Apr 2007 10:46:21 +0000]
remove interactive setup steps

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2529 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoadd build scripts for debian etch
Benedikt Boehm [Fri, 13 Apr 2007 09:02:29 +0000]
add build scripts for debian etch

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2528 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix typo.
Daniel Hokka Zakrisson [Wed, 11 Apr 2007 18:14:47 +0000]
Fix typo.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2527 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoNew debootstrap.
Daniel Hokka Zakrisson [Wed, 11 Apr 2007 17:55:08 +0000]
New debootstrap.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2526 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoterminal_copy doesn't return void anymore.
Daniel Hokka Zakrisson [Sun, 8 Apr 2007 00:40:16 +0000]
terminal_copy doesn't return void anymore.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2525 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd shutdown.sh and reboot.sh to the Makefile.
Daniel Hokka Zakrisson [Sun, 8 Apr 2007 00:39:47 +0000]
Add shutdown.sh and reboot.sh to the Makefile.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2524 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoforce halt/reboot if using gentoo init style, enable syslog stub by default for gento...
Benedikt Boehm [Tue, 27 Mar 2007 18:00:48 +0000]
force halt/reboot if using gentoo init style, enable syslog stub by default for gentoo guests

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2523 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoGet rid of the work directory on success.
Daniel Hokka Zakrisson [Sat, 24 Mar 2007 12:54:32 +0000]
Get rid of the work directory on success.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2522 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix help message.
Daniel Hokka Zakrisson [Wed, 21 Mar 2007 04:46:18 +0000]
Fix help message.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2521 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix problems with debootstrap on Ubuntu.
Daniel Hokka Zakrisson [Tue, 20 Mar 2007 20:38:35 +0000]
Fix problems with debootstrap on Ubuntu.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2520 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoRemove the guest in case of failure.
Daniel Hokka Zakrisson [Tue, 20 Mar 2007 17:47:04 +0000]
Remove the guest in case of failure.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2519 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoSupply the required argument.
Daniel Hokka Zakrisson [Sun, 18 Mar 2007 22:15:07 +0000]
Supply the required argument.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2518 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agonodev: shouldn't be in the ip file.
Daniel Hokka Zakrisson [Sun, 18 Mar 2007 22:02:22 +0000]
nodev: shouldn't be in the ip file.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2517 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoVerbosify initscript.
Daniel Hokka Zakrisson [Sun, 18 Mar 2007 17:51:56 +0000]
Verbosify initscript.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2516 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoRename _setVserverDir to _setVserverDirName.
Daniel Hokka Zakrisson [Sun, 18 Mar 2007 15:32:22 +0000]
Rename _setVserverDir to _setVserverDirName.
Rename _getVserverDir to _setVserverDir.
Add _setVserverName to set VSERVER_NAME.
pkgmgmt.initVariables cannot run before _setVserverDirName, and the initialization must happen once per guest.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2515 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAttempt to fix the endless loop of select() read().
Daniel Hokka Zakrisson [Sun, 18 Mar 2007 15:04:42 +0000]
Attempt to fix the endless loop of select() read().

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2514 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoCreate the directories here for strange distros (e.g. Ubuntu).
Daniel Hokka Zakrisson [Sun, 18 Mar 2007 11:51:32 +0000]
Create the directories here for strange distros (e.g. Ubuntu).

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2513 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix IPv6 address assignment.
Daniel Hokka Zakrisson [Sun, 11 Mar 2007 21:25:28 +0000]
Fix IPv6 address assignment.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2512 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoUpdate the debootstrap URI.
Daniel Hokka Zakrisson [Fri, 9 Mar 2007 21:07:55 +0000]
Update the debootstrap URI.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2511 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix idle-time.
Daniel Hokka Zakrisson [Wed, 7 Mar 2007 20:33:56 +0000]
Fix idle-time.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2510 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoMake the gentoo initstyle work with baselayout-vserver.
Daniel Hokka Zakrisson [Mon, 26 Feb 2007 20:18:03 +0000]
Make the gentoo initstyle work with baselayout-vserver.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2509 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoDon't tell init to shutdown if we're called from vshelper, that should've already...
Daniel Hokka Zakrisson [Sun, 25 Feb 2007 14:06:51 +0000]
Don't tell init to shutdown if we're called from vshelper, that should've already happened.
Kill init and other remaining processes from vshelper once the stop sync signal has arrived.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2508 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd $__LOCKDIR and /tmp to the excluded paths.
Daniel Hokka Zakrisson [Sun, 25 Feb 2007 01:44:37 +0000]
Add $__LOCKDIR and /tmp to the excluded paths.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2507 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix help message for --with-initscripts.
Daniel Hokka Zakrisson [Sat, 24 Feb 2007 23:43:29 +0000]
Fix help message for --with-initscripts.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2506 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoMove the Gentoo in-guest scripts to *_DATA, so rpm doesn't process them for deps.
Daniel Hokka Zakrisson [Sat, 24 Feb 2007 20:03:48 +0000]
Move the Gentoo in-guest scripts to *_DATA, so rpm doesn't process them for deps.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2505 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix the symlink problems.
Daniel Hokka Zakrisson [Sat, 24 Feb 2007 20:03:10 +0000]
Fix the symlink problems.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2504 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoUpdate to latest shiny.
Daniel Hokka Zakrisson [Thu, 22 Feb 2007 05:18:18 +0000]
Update to latest shiny.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2503 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoUpdate help message to correspond better with reality.
Daniel Hokka Zakrisson [Wed, 21 Feb 2007 20:07:53 +0000]
Update help message to correspond better with reality.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2502 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd support for the migration flags.
Daniel Hokka Zakrisson [Tue, 20 Feb 2007 17:33:35 +0000]
Add support for the migration flags.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2501 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoMake nodev: silence the warning.
Daniel Hokka Zakrisson [Sat, 17 Feb 2007 19:10:20 +0000]
Make nodev: silence the warning.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2500 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoUpdate to latest shiny.
Daniel Hokka Zakrisson [Sat, 17 Feb 2007 19:01:20 +0000]
Update to latest shiny.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2499 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years ago&>> doesn't exist.
Daniel Hokka Zakrisson [Wed, 14 Feb 2007 19:32:11 +0000]
&>> doesn't exist.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2498 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoUpdate to latest shiny.
Daniel Hokka Zakrisson [Wed, 14 Feb 2007 19:24:35 +0000]
Update to latest shiny.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2497 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoWork better if the default tty is a file by using /dev/null for input and appending...
Daniel Hokka Zakrisson [Sun, 11 Feb 2007 20:21:48 +0000]
Work better if the default tty is a file by using /dev/null for input and appending the output.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2496 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoUpdate to shiny15.
Daniel Hokka Zakrisson [Sun, 11 Feb 2007 20:16:05 +0000]
Update to shiny15.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2495 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoRemove the --source and --dest "options" from vclone, both are required.
Daniel Hokka Zakrisson [Sun, 11 Feb 2007 00:45:04 +0000]
Remove the --source and --dest "options" from vclone, both are required.
Catch error conditions about the arguments in vclone.
Attempt to figure out where the source if it's not a directory, and make sure it is one before running vclone.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2494 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoXid 65535 is a static one when dynamic ones are disabled.
Daniel Hokka Zakrisson [Sat, 10 Feb 2007 15:06:07 +0000]
Xid 65535 is a static one when dynamic ones are disabled.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2493 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd /usr/bin to exception list, to make sure we keep the /usr mount around.
Daniel Hokka Zakrisson [Fri, 9 Feb 2007 06:17:58 +0000]
Add /usr/bin to exception list, to make sure we keep the /usr mount around.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2492 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix the last, horribly broken commit.
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:59:03 +0000]
Fix the last, horribly broken commit.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2491 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoReally silence the warning.
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:45:25 +0000]
Really silence the warning.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2490 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoTry to figure out the xid if not specified.
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:40:22 +0000]
Try to figure out the xid if not specified.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2489 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoSilence warning.
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:39:50 +0000]
Silence warning.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2488 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoMake distrib/gentoo/net.vserver non-executable so RPM doesn't pick up a dependency...
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:39:19 +0000]
Make distrib/gentoo/net.vserver non-executable so RPM doesn't pick up a dependency on /sbin/runscript.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2487 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agofix vsomething arguments in gentoo wrappers
Benedikt Boehm [Mon, 5 Feb 2007 18:08:17 +0000]
fix vsomething arguments in gentoo wrappers

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2486 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years ago- documented parts of the code were I needed to think >1min about its
Enrico Scholz [Sun, 4 Feb 2007 17:18:27 +0000]
- documented parts of the code were I needed to think >1min about its
  sense
- use ftruncate(2) instead of a lseek(2)+write(2) sequence to create a
  sparse file
- set O_NOCTTY flag for temp file

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2485 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years ago- reworked the large pagesize patch; it seems to be always PAGESIZE*2+1
Enrico Scholz [Sun, 4 Feb 2007 17:17:02 +0000]
- reworked the large pagesize patch; it seems to be always PAGESIZE*2+1
  bytes required to trigger a SIGBUS. Since PAGESIZE is not available
  directly, use sysconf(3) to get this value and memset(3) to initialize
  buffer
- removed byte crap

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2484 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd missing hunk from the Gentoo initscripts commit.
Daniel Hokka Zakrisson [Thu, 1 Feb 2007 12:56:20 +0000]
Add missing hunk from the Gentoo initscripts commit.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2483 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd Gentoo initscripts.
Daniel Hokka Zakrisson [Mon, 29 Jan 2007 23:37:07 +0000]
Add Gentoo initscripts.
Force sysv initscripts for the RPMs.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2482 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoThere's no need to enter the filesystem namespaces twice.
Daniel Hokka Zakrisson [Mon, 29 Jan 2007 02:06:30 +0000]
There's no need to enter the filesystem namespaces twice.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2481 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoWhen we call the external mount, we need to preserve all of the options so it can...
Daniel Hokka Zakrisson [Sun, 28 Jan 2007 11:35:19 +0000]
When we call the external mount, we need to preserve all of the options so it can parse them on its own.
The option defaults should set nodev in the flags.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2480 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agovserver-copy is legacy, put the man page in the same package.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 23:16:20 +0000]
vserver-copy is legacy, put the man page in the same package.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2479 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoMove dynamic context generation to userspace.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 11:10:09 +0000]
Move dynamic context generation to userspace.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2478 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoSet nodev rather than just warning about it.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 10:20:40 +0000]
Set nodev rather than just warning about it.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2477 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoActually check the mtime when it's not optional.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 10:05:58 +0000]
Actually check the mtime when it's not optional.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2476 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd an option (--ignore-mtime) to vhashify to hashify files with differing mtimes.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 09:38:56 +0000]
Add an option (--ignore-mtime) to vhashify to hashify files with differing mtimes.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2475 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd entries that were missing from .defaults.
Daniel Hokka Zakrisson [Thu, 25 Jan 2007 13:14:33 +0000]
Add entries that were missing from .defaults.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2474 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd option to chxid to skip unified files.
Daniel Hokka Zakrisson [Thu, 25 Jan 2007 09:51:43 +0000]
Add option to chxid to skip unified files.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2473 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoDon't overwrite files that already exist.
Daniel Hokka Zakrisson [Tue, 23 Jan 2007 16:43:01 +0000]
Don't overwrite files that already exist.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2472 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agocleanup gentoo/initpost; add fixes for syslog-ng.conf and net dependency in baselayou...
Benedikt Boehm [Tue, 23 Jan 2007 16:41:03 +0000]
cleanup gentoo/initpost; add fixes for syslog-ng.conf and net dependency in baselayout >= 1.13

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2471 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years ago... and the Makefile.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 20:17:14 +0000]
... and the Makefile.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2470 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd the build method to the manifest too.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 20:06:33 +0000]
Add the build method to the manifest too.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2469 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd the clone build method.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 20:05:19 +0000]
Add the clone build method.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2468 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd vclone, to help with cloning guests.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 18:26:45 +0000]
Add vclone, to help with cloning guests.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2467 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoIf it doesn't exist, only error if requested.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 08:02:44 +0000]
If it doesn't exist, only error if requested.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2466 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agofix runlevel scripts for older baselayouts too; set hostname inside the guest
Benedikt Boehm [Sat, 20 Jan 2007 17:31:44 +0000]
fix runlevel scripts for older baselayouts too; set hostname inside the guest

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2465 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoReturn 0 on any error, older kernels will return -EPERM for unknown syscalls.
Daniel Hokka Zakrisson [Sat, 20 Jan 2007 13:55:42 +0000]
Return 0 on any error, older kernels will return -EPERM for unknown syscalls.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2464 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoDocument the configuration for vdevmap.
Daniel Hokka Zakrisson [Sat, 20 Jan 2007 09:36:19 +0000]
Document the configuration for vdevmap.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2463 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoPlace-holder documentation for now, until some better descriptions comes along.
Daniel Hokka Zakrisson [Sat, 20 Jan 2007 09:25:04 +0000]
Place-holder documentation for now, until some better descriptions comes along.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2462 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd patch from David Woodhouse to work with 64 KiB pages.
Daniel Hokka Zakrisson [Sat, 20 Jan 2007 07:43:07 +0000]
Add patch from David Woodhouse to work with 64 KiB pages.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2461 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd support for vdevmap in the configuration.
Daniel Hokka Zakrisson [Thu, 18 Jan 2007 16:35:03 +0000]
Add support for vdevmap in the configuration.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2460 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix logic error.
Daniel Hokka Zakrisson [Thu, 18 Jan 2007 16:33:45 +0000]
Fix logic error.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2459 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd support for setting sysctl values in the configuration.
Daniel Hokka Zakrisson [Thu, 18 Jan 2007 13:38:06 +0000]
Add support for setting sysctl values in the configuration.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2458 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoadded patch for yum-3.0.3
Enrico Scholz [Thu, 18 Jan 2007 07:56:35 +0000]
added patch for yum-3.0.3

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2457 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoRemove the disk limits after saving them.
Daniel Hokka Zakrisson [Thu, 18 Jan 2007 04:38:30 +0000]
Remove the disk limits after saving them.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2456 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd VC_VXSM_MSEC.
Daniel Hokka Zakrisson [Wed, 17 Jan 2007 09:56:43 +0000]
Add VC_VXSM_MSEC.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2455 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoUse VCMD_set_sched_v4 as intended.
Daniel Hokka Zakrisson [Wed, 17 Jan 2007 09:56:23 +0000]
Use VCMD_set_sched_v4 as intended.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2454 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoRemove the dietlibc sanity check function, as what it's doing is already done elsewhere.
Daniel Hokka Zakrisson [Wed, 17 Jan 2007 09:54:53 +0000]
Remove the dietlibc sanity check function, as what it's doing is already done elsewhere.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2453 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agofix missing world target in vupdateworld
Benedikt Boehm [Sun, 14 Jan 2007 12:30:02 +0000]
fix missing world target in vupdateworld

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2452 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoTeach the spec how to build prereleases and release candidates.
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 22:23:39 +0000]
Teach the spec how to build prereleases and release candidates.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2451 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoThe new method doesn't need to be a spectator, and /proc/virtual isn't available...
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 19:27:56 +0000]
The new method doesn't need to be a spectator, and /proc/virtual isn't available there by default.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2450 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd vc_sched_info API.
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 18:53:07 +0000]
Add vc_sched_info API.
Make vserver-stat use the various APIs instead of parsing per-process /proc entries.

vc_virt_stat.uptime is a uint64_t.
vc_get_dlimit can handle a NULL limits argument.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2449 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoThere is no vc_create_context. Stop referencing it.
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 18:49:13 +0000]
There is no vc_create_context. Stop referencing it.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2448 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoRemove persistent on stop.
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 11:52:06 +0000]
Remove persistent on stop.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2447 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoCheck if dietlibc declares syscall incompatibly, to avoid errors.
Daniel Hokka Zakrisson [Tue, 9 Jan 2007 13:22:11 +0000]
Check if dietlibc declares syscall incompatibly, to avoid errors.
Move the syscall declaration to lib/syscall-wrap.h.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2446 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoFix output.
Daniel Hokka Zakrisson [Sun, 7 Jan 2007 22:27:21 +0000]
Fix output.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2445 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoSupport legacy guests on 2.6 kernels as well.
Daniel Hokka Zakrisson [Wed, 3 Jan 2007 11:55:04 +0000]
Support legacy guests on 2.6 kernels as well.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2444 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoThe CHBIND_OPTS need to be cleaned before handing them to $_CHBIND_COMPAT, let $_CHBI...
Daniel Hokka Zakrisson [Tue, 2 Jan 2007 20:54:26 +0000]
The CHBIND_OPTS need to be cleaned before handing them to $_CHBIND_COMPAT, let $_CHBIND do that.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2443 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoLet glibc use the alternative syscalls as well.
Daniel Hokka Zakrisson [Mon, 1 Jan 2007 19:37:36 +0000]
Let glibc use the alternative syscalls as well.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2442 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoOrganize things. Structures and functions dealing with similar things are now grouped...
Daniel Hokka Zakrisson [Sat, 30 Dec 2006 00:52:43 +0000]
Organize things. Structures and functions dealing with similar things are now grouped together.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2441 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoUse status for the process count instead since persistent adds a task there.
Daniel Hokka Zakrisson [Sat, 30 Dec 2006 00:40:09 +0000]
Use status for the process count instead since persistent adds a task there.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2440 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd vdevmap to ignore.
Daniel Hokka Zakrisson [Sat, 30 Dec 2006 00:37:11 +0000]
Add vdevmap to ignore.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2439 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoReturn a sane value from kill_contexts.
Daniel Hokka Zakrisson [Fri, 29 Dec 2006 20:34:03 +0000]
Return a sane value from kill_contexts.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2438 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoUse the correct type for the configuration bitfield.
Daniel Hokka Zakrisson [Fri, 29 Dec 2006 20:33:26 +0000]
Use the correct type for the configuration bitfield.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2437 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd util-vserver initscript handling.
Daniel Hokka Zakrisson [Fri, 29 Dec 2006 20:32:53 +0000]
Add util-vserver initscript handling.
Add %changelog comment.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2436 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd vdevmap.
Daniel Hokka Zakrisson [Fri, 29 Dec 2006 20:30:22 +0000]
Add vdevmap.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2435 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoMove initscript functions to vserver-init.functions.
Daniel Hokka Zakrisson [Thu, 28 Dec 2006 00:07:05 +0000]
Move initscript functions to vserver-init.functions.
Make vprocunhide use said functions.
Add an initscript to set the helper and kill guest processes.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2434 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd --without doc and --with legacy options.
Daniel Hokka Zakrisson [Thu, 28 Dec 2006 00:05:43 +0000]
Add --without doc and --with legacy options.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2433 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agocosmetic fixes for vserver-wrapper
Benedikt Boehm [Wed, 20 Dec 2006 13:39:58 +0000]
cosmetic fixes for vserver-wrapper

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2432 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoAdd --immutable, --~immutable and --!immutable.
Daniel Hokka Zakrisson [Tue, 19 Dec 2006 19:18:12 +0000]
Add --immutable, --~immutable and --!immutable.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2431 94cd875c-1c1d-0410-91d2-eb244daf1a30

17 years agoDon't check the VLAN stuff if novlandev was specified.
Daniel Hokka Zakrisson [Mon, 18 Dec 2006 11:26:28 +0000]
Don't check the VLAN stuff if novlandev was specified.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2430 94cd875c-1c1d-0410-91d2-eb244daf1a30