util-vserver.git
16 years agoTagging the 0.30.214 release of the util-vserver project release-0.30.214
Daniel Hokka Zakrisson [Sun, 2 Sep 2007 20:06:46 +0000]
Tagging the 0.30.214 release of the util-vserver project

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/tags/release-0.30.214@2605 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoVersion 0.30.214.
Daniel Hokka Zakrisson [Sun, 2 Sep 2007 20:03:17 +0000]
Version 0.30.214.

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

16 years agoUse the correct syscall.
Daniel Hokka Zakrisson [Sun, 2 Sep 2007 19:51:14 +0000]
Use the correct syscall.

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

16 years agoFix thinko.
Daniel Hokka Zakrisson [Mon, 27 Aug 2007 10:53:04 +0000]
Fix thinko.

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

16 years agoRemove vserver-config.sh from the Makefile.
Daniel Hokka Zakrisson [Mon, 27 Aug 2007 10:19:24 +0000]
Remove vserver-config.sh from the Makefile.

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

16 years agoBe more like the redhat initpost script, don't start the guest for real.
Daniel Hokka Zakrisson [Mon, 27 Aug 2007 10:16:40 +0000]
Be more like the redhat initpost script, don't start the guest for real.

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

16 years agoAdd support for the lback address in the configuration.
Daniel Hokka Zakrisson [Sun, 26 Aug 2007 21:30:50 +0000]
Add support for the lback address in the configuration.
Add --silent to vtag so it'll complain if run manually on a kernel without the necessary support.

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

16 years agoDocument the tag and ncontext files.
Daniel Hokka Zakrisson [Sun, 26 Aug 2007 17:50:07 +0000]
Document the tag and ncontext files.

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

16 years agoAdd remap_lback as an alias to lback_remap.
Daniel Hokka Zakrisson [Sun, 26 Aug 2007 17:48:26 +0000]
Add remap_lback as an alias to lback_remap.

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

16 years agoFallback to context if ncontext/tag don't exist.
Daniel Hokka Zakrisson [Sat, 25 Aug 2007 16:56:12 +0000]
Fallback to context if ncontext/tag don't exist.
Fix remanining vc_getVserverCtx caller.

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

16 years agodebootstrap 1.0.3
Daniel Hokka Zakrisson [Sat, 25 Aug 2007 16:50:42 +0000]
debootstrap 1.0.3

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

16 years agoClarify that specifying dev will add/remove the IP address.
Daniel Hokka Zakrisson [Tue, 21 Aug 2007 23:00:10 +0000]
Clarify that specifying dev will add/remove the IP address.

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

16 years agoAdd a static context sanity check.
Daniel Hokka Zakrisson [Tue, 21 Aug 2007 18:39:03 +0000]
Add a static context sanity check.

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

16 years agoAdd --immutable.
Daniel Hokka Zakrisson [Thu, 16 Aug 2007 20:33:45 +0000]
Add --immutable.

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

16 years agoMigrate to the tag on stop too.
Daniel Hokka Zakrisson [Thu, 16 Aug 2007 19:53:32 +0000]
Migrate to the tag on stop too.

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

16 years agoFix for vtag invocations.
Daniel Hokka Zakrisson [Thu, 16 Aug 2007 19:36:27 +0000]
Fix for vtag invocations.

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

16 years agoAdd support for a separate filesystem tag, and in the process improve the support...
Daniel Hokka Zakrisson [Thu, 16 Aug 2007 03:06:50 +0000]
Add support for a separate filesystem tag, and in the process improve the support for network contexts.

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

16 years agoThe nid isn't used anymore, legacy APIs don't support it.
Daniel Hokka Zakrisson [Thu, 16 Aug 2007 02:31:33 +0000]
The nid isn't used anymore, legacy APIs don't support it.

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

16 years agoAdd fallback syscall numbers, if it's not defined in the headers.
Daniel Hokka Zakrisson [Thu, 16 Aug 2007 02:00:23 +0000]
Add fallback syscall numbers, if it's not defined in the headers.

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

16 years agoAdd some hints for this common problem.
Daniel Hokka Zakrisson [Mon, 13 Aug 2007 18:10:06 +0000]
Add some hints for this common problem.

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

16 years agoAdd network capability RAW_ICMP.
Daniel Hokka Zakrisson [Sun, 12 Aug 2007 00:13:31 +0000]
Add network capability RAW_ICMP.

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

16 years agoFix setting the broadcast address.
Daniel Hokka Zakrisson [Fri, 10 Aug 2007 15:28:42 +0000]
Fix setting the broadcast address.

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

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

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