util-vserver.git
16 years agoadded updated patches for yum. The yum-3.2.0 one is untested.
Enrico Scholz [Fri, 1 Jun 2007 16:19:42 +0000]
added updated patches for yum. The yum-3.2.0 one is untested.

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

16 years agoFixed problems when building both a dietlibc and a GNU version of a
Enrico Scholz [Fri, 1 Jun 2007 16:18:46 +0000]
Fixed problems when building both a dietlibc and a GNU version of a
testsuite program. Previously, the same object file (which was generated
by 'diet') was used for both variants and only linking differed for
them. This caused problems at least in F7 on PPC platforms.

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

16 years agodeallocate resources symmetrically
Enrico Scholz [Fri, 1 Jun 2007 16:16:33 +0000]
deallocate resources symmetrically

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

16 years agofix TERM for colored output
Benedikt Boehm [Thu, 31 May 2007 17:58:46 +0000]
fix TERM for colored output

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

16 years agoTERM=linux is needed for color with baselayout-2.
Daniel Hokka Zakrisson [Sat, 26 May 2007 11:50:06 +0000]
TERM=linux is needed for color with baselayout-2.

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

17 years agoVersion 0.30.213.
Daniel Hokka Zakrisson [Thu, 3 May 2007 12:20:16 +0000]
Version 0.30.213.

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

17 years agoAdd missing file.
Daniel Hokka Zakrisson [Thu, 3 May 2007 12:13:30 +0000]
Add missing file.

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

17 years agoVersion 0.30.213.
Daniel Hokka Zakrisson [Wed, 2 May 2007 20:11:40 +0000]
Version 0.30.213.

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

17 years agofake init environment during shutdown, otherwise rc just calls shutdown/halt which...
Benedikt Boehm [Fri, 27 Apr 2007 09:08:43 +0000]
fake init environment during shutdown, otherwise rc just calls shutdown/halt which does not work without init

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

17 years agoadd dummy net dependency to default runlevel; dmesg/syslog is now handled in baselayout
Benedikt Boehm [Fri, 27 Apr 2007 09:02:31 +0000]
add dummy net dependency to default runlevel; dmesg/syslog is now handled in baselayout

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

17 years agoadd link command to chroot-sh
Benedikt Boehm [Fri, 27 Apr 2007 09:01:20 +0000]
add link command to chroot-sh

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

17 years agodon't call /halt/reboot -f for gentoo init style, but rather just exit, since we...
Benedikt Boehm [Fri, 27 Apr 2007 08:42:28 +0000]
don't call /halt/reboot -f for gentoo init style, but rather just exit, since we would be killed by vshelper, does not matter for reboot from inside: simple reboot wonÄt work with gentoo init style, must use reboot -f inside

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

17 years agofix distdir handling if prefix is not
Benedikt Boehm [Fri, 27 Apr 2007 08:40:23 +0000]
fix distdir handling if prefix is not

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

17 years agoUse the state change helper to stop the guest when the last process exits.
Daniel Hokka Zakrisson [Sat, 21 Apr 2007 14:06:26 +0000]
Use the state change helper to stop the guest when the last process exits.

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

17 years agoRecognize the --nodevsanity option.
Daniel Hokka Zakrisson [Sat, 21 Apr 2007 14:05:32 +0000]
Recognize the --nodevsanity option.

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

17 years agoDon't do namespace cleanup if we're not in a new namespace.
Daniel Hokka Zakrisson [Sat, 21 Apr 2007 14:04:35 +0000]
Don't do namespace cleanup if we're not in a new namespace.

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

17 years agoAdd CentOS 5.
Daniel Hokka Zakrisson [Sat, 21 Apr 2007 14:03:09 +0000]
Add CentOS 5.

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

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