util-vserver.git
16 years agoAdd all the network flags.
Daniel Hokka Zakrisson [Thu, 9 Aug 2007 02:39:25 +0000]
Add all the network flags.

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

16 years agoDon't hardcode the spaces to create/unshare.
Daniel Hokka Zakrisson [Wed, 8 Aug 2007 23:10:52 +0000]
Don't hardcode the spaces to create/unshare.

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

16 years agoSet the namespaces we've unshared.
Daniel Hokka Zakrisson [Wed, 8 Aug 2007 21:32:25 +0000]
Set the namespaces we've unshared.

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

16 years agoAdd the bash-wrapper to the Makefile.
Daniel Hokka Zakrisson [Wed, 8 Aug 2007 21:03:35 +0000]
Add the bash-wrapper to the Makefile.

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

16 years agoAdd sys_unshare to the Makefile.
Daniel Hokka Zakrisson [Wed, 8 Aug 2007 20:47:12 +0000]
Add sys_unshare to the Makefile.

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

16 years agoAdd support for the various new APIs in 2.2 and 2.3, in particular, netv2.
Daniel Hokka Zakrisson [Wed, 8 Aug 2007 20:05:26 +0000]
Add support for the various new APIs in 2.2 and 2.3, in particular, netv2.

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

16 years agoRemove the cache so disk limit caches have no chance of being reused if the same...
Daniel Hokka Zakrisson [Sun, 5 Aug 2007 18:36:56 +0000]
Remove the cache so disk limit caches have no chance of being reused if the same guest is recreated at a later point in time.

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

16 years agoIt's just yum, not yum-rpm.
Daniel Hokka Zakrisson [Sun, 5 Aug 2007 18:36:07 +0000]
It's just yum, not yum-rpm.

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

16 years agoRemove e2fsprogs requirement, no longer needed.
Daniel Hokka Zakrisson [Sun, 5 Aug 2007 18:35:40 +0000]
Remove e2fsprogs requirement, no longer needed.

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

16 years agoUse findFile consistently. Don't fail if a file doesn't exist, these are all optional.
Daniel Hokka Zakrisson [Tue, 31 Jul 2007 19:43:17 +0000]
Use findFile consistently. Don't fail if a file doesn't exist, these are all optional.

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

16 years agosome more POSIX fixes
Benedikt Boehm [Mon, 30 Jul 2007 09:36:46 +0000]
some more POSIX fixes

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

16 years agoOnly POSIX-sh in Gentoo initscripts.
Daniel Hokka Zakrisson [Sun, 29 Jul 2007 17:14:37 +0000]
Only POSIX-sh in Gentoo initscripts.

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

16 years agoVarious debootstrap improvements.
Daniel Hokka Zakrisson [Sun, 29 Jul 2007 16:55:06 +0000]
Various debootstrap improvements.

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

16 years agoPrettier output on error.
Daniel Hokka Zakrisson [Sun, 29 Jul 2007 16:32:32 +0000]
Prettier output on error.

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

16 years agoAdd exclude list support for vclone.
Daniel Hokka Zakrisson [Sun, 22 Jul 2007 17:24:29 +0000]
Add exclude list support for vclone.

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

16 years agoAdd vc_get_sched.
Daniel Hokka Zakrisson [Thu, 19 Jul 2007 20:56:25 +0000]
Add vc_get_sched.

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

16 years ago... and add _STRACE.
Daniel Hokka Zakrisson [Wed, 18 Jul 2007 17:32:57 +0000]
... and add _STRACE.

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

16 years agoAdd --strace and --debug-sysv options to further debug problems with starting a guest.
Daniel Hokka Zakrisson [Wed, 18 Jul 2007 17:24:36 +0000]
Add --strace and --debug-sysv options to further debug problems with starting a guest.

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

16 years agoAdd it to the Makefile.
Daniel Hokka Zakrisson [Mon, 16 Jul 2007 15:52:40 +0000]
Add it to the Makefile.

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

16 years agoMake vc_get_ccaps do the right thing.
Daniel Hokka Zakrisson [Mon, 16 Jul 2007 15:10:08 +0000]
Make vc_get_ccaps do the right thing.

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

16 years agoEnter the network context to stop the guest.
Daniel Hokka Zakrisson [Fri, 13 Jul 2007 14:35:24 +0000]
Enter the network context to stop the guest.

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

16 years agoSupport runlevels up to 9, as per init(1).
Daniel Hokka Zakrisson [Thu, 12 Jul 2007 21:59:06 +0000]
Support runlevels up to 9, as per init(1).

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

16 years agoAdd some sanity checking.
Daniel Hokka Zakrisson [Wed, 11 Jul 2007 14:34:00 +0000]
Add some sanity checking.

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

16 years agoAdd forgotten file.
Daniel Hokka Zakrisson [Wed, 11 Jul 2007 14:27:05 +0000]
Add forgotten file.

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

16 years agoAdd an option to specify the xid the non-shared files should belong to.
Daniel Hokka Zakrisson [Tue, 10 Jul 2007 20:35:47 +0000]
Add an option to specify the xid the non-shared files should belong to.

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

16 years agoReplace file with h2ext for the template build method.
Daniel Hokka Zakrisson [Tue, 10 Jul 2007 20:34:48 +0000]
Replace file with h2ext for the template build method.

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

16 years agoIt's network isolation, not virtualization.
Daniel Hokka Zakrisson [Sun, 8 Jul 2007 18:29:03 +0000]
It's network isolation, not virtualization.

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

16 years agoadded patch for yum-3.2.1; this one should retain API
Enrico Scholz [Sat, 7 Jul 2007 15:24:07 +0000]
added patch for yum-3.2.1; this one should retain API
compatibility by using a dummy argument for the *Lock()
methods

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

16 years agoUpdate URLs.
Daniel Hokka Zakrisson [Mon, 25 Jun 2007 15:24:53 +0000]
Update URLs.

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

16 years agoAdd a way to associate a distribution with a default template.
Daniel Hokka Zakrisson [Sun, 24 Jun 2007 22:04:22 +0000]
Add a way to associate a distribution with a default template.

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

16 years agoAdd Fedora 7.
Daniel Hokka Zakrisson [Sun, 24 Jun 2007 21:28:18 +0000]
Add Fedora 7.

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

16 years agoIgnore vsysctl and vclone too.
Daniel Hokka Zakrisson [Sun, 24 Jun 2007 00:07:49 +0000]
Ignore vsysctl and vclone too.

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

16 years agoSupport 3.1.x and 3.2.x as well.
Daniel Hokka Zakrisson [Thu, 21 Jun 2007 12:56:25 +0000]
Support 3.1.x and 3.2.x as well.

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

16 years agoUse the correct path to the configuration file.
Daniel Hokka Zakrisson [Thu, 21 Jun 2007 12:55:55 +0000]
Use the correct path to the configuration file.

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

16 years agoMake it do everything needed.
Daniel Hokka Zakrisson [Thu, 21 Jun 2007 12:55:16 +0000]
Make it do everything needed.

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

16 years agoDefine PREVLEVEL and RUNLEVEL so SuSE's rc script works correctly.
Daniel Hokka Zakrisson [Sat, 16 Jun 2007 20:42:03 +0000]
Define PREVLEVEL and RUNLEVEL so SuSE's rc script works correctly.

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

16 years agofstab.remote uses the guest's network context.
Daniel Hokka Zakrisson [Mon, 11 Jun 2007 12:09:18 +0000]
fstab.remote uses the guest's network context.

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

17 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

17 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

17 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

17 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

17 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