util-vserver.git
16 years agoCorrectly unmount NFS and other "special" filesystems.
Daniel Hokka Zakrisson [Tue, 8 Jul 2008 15:51:45 +0000]
Correctly unmount NFS and other "special" filesystems.

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

16 years agoOrder the scriptlets logically.
Daniel Hokka Zakrisson [Tue, 8 Jul 2008 15:11:09 +0000]
Order the scriptlets logically.

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

16 years agoRevert changeset 2726. Needs #ifdef magic.
Daniel Hokka Zakrisson [Tue, 8 Jul 2008 14:08:24 +0000]
Revert changeset 2726. Needs #ifdef magic.

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

16 years agoDon't fail.
Daniel Hokka Zakrisson [Tue, 8 Jul 2008 14:07:42 +0000]
Don't fail.

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

16 years agoWorkaround broken headers.
Daniel Hokka Zakrisson [Sun, 6 Jul 2008 23:58:46 +0000]
Workaround broken headers.

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

16 years agoUnify_copy doesn't touch sockets, so there's nothing to change the tag of.
Daniel Hokka Zakrisson [Sun, 6 Jul 2008 23:58:22 +0000]
Unify_copy doesn't touch sockets, so there's nothing to change the tag of.

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

16 years agoNew debootstrap.
Daniel Hokka Zakrisson [Wed, 2 Jul 2008 17:10:39 +0000]
New debootstrap.

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

16 years agoUse 64-bit counters for the memory usage, to avoid easy overflows.
Daniel Hokka Zakrisson [Mon, 30 Jun 2008 20:25:46 +0000]
Use 64-bit counters for the memory usage, to avoid easy overflows.

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

16 years agoAdd persistdir for centos5 and make sure the syslog daemon is enabled.
Daniel Hokka Zakrisson [Sun, 29 Jun 2008 15:42:31 +0000]
Add persistdir for centos5 and make sure the syslog daemon is enabled.

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

16 years agoGet rid of the etch directory for older installs.
Daniel Hokka Zakrisson [Thu, 26 Jun 2008 15:59:54 +0000]
Get rid of the etch directory for older installs.
Hopefully all interesting RPM versions support %check by now... Mandriva's rpm does not support the || : syntax.

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

16 years agoAdd operations needed by Fedora 9 tweaks.
Daniel Hokka Zakrisson [Tue, 17 Jun 2008 16:16:47 +0000]
Add operations needed by Fedora 9 tweaks.

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

16 years agoFedora 9 support.
Daniel Hokka Zakrisson [Tue, 17 Jun 2008 16:15:19 +0000]
Fedora 9 support.

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

16 years agoOn failure, mmap returns MAP_FAILED, not 0.
Daniel Hokka Zakrisson [Mon, 16 Jun 2008 11:32:49 +0000]
On failure, mmap returns MAP_FAILED, not 0.

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

16 years agoAvoid that annoying "uses 32-bit capabilities (legacy support in use)" warning.
Daniel Hokka Zakrisson [Sat, 3 May 2008 17:00:14 +0000]
Avoid that annoying "uses 32-bit capabilities (legacy support in use)" warning.

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

16 years agoAdd pid space feature.
Daniel Hokka Zakrisson [Sat, 3 May 2008 16:53:45 +0000]
Add pid space feature.

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

16 years agoFix typo.
Daniel Hokka Zakrisson [Sat, 3 May 2008 16:48:56 +0000]
Fix typo.

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

16 years agoFix typo.
Daniel Hokka Zakrisson [Fri, 2 May 2008 22:44:57 +0000]
Fix typo.

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

16 years agoCLONE_FS is just for the Linux-VServer syscalls.
Daniel Hokka Zakrisson [Tue, 29 Apr 2008 17:47:50 +0000]
CLONE_FS is just for the Linux-VServer syscalls.

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

16 years agofix functions.sh location for gentoo; create /lib/rc/sh for older stages that don...
Benedikt Boehm [Sun, 13 Apr 2008 10:13:47 +0000]
fix functions.sh location for gentoo; create /lib/rc/sh for older stages that don't have it

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

16 years agoAdd all the ioctls to work on older kernels too.
Daniel Hokka Zakrisson [Wed, 2 Apr 2008 18:59:00 +0000]
Add all the ioctls to work on older kernels too.

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

16 years agoDon't call free on stack pointers.
Daniel Hokka Zakrisson [Wed, 2 Apr 2008 18:58:37 +0000]
Don't call free on stack pointers.

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

16 years agoAdd support to be able to configure the peer too.
Daniel Hokka Zakrisson [Wed, 2 Apr 2008 18:58:18 +0000]
Add support to be able to configure the peer too.

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

16 years agoSupport 0.0.0.0 for 2.3 kernels.
Daniel Hokka Zakrisson [Wed, 26 Mar 2008 22:22:26 +0000]
Support 0.0.0.0 for 2.3 kernels.

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

16 years agoVersion 0.30.215.
Daniel Hokka Zakrisson [Mon, 17 Mar 2008 08:59:37 +0000]
Version 0.30.215.

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

16 years agoAdd the new flags.
Daniel Hokka Zakrisson [Mon, 17 Mar 2008 08:55:11 +0000]
Add the new flags.

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

16 years agoFix vserver ... stop --rescue-init.
Daniel Hokka Zakrisson [Sun, 16 Mar 2008 03:30:22 +0000]
Fix vserver ... stop --rescue-init.
Use it in stopSleepingGuest, to prevent races and to do proper cleanup.
If vserver ... stop has already been invoked, remove SC_HELPER from the context.

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

16 years agoAdd some examples.
Daniel Hokka Zakrisson [Sat, 15 Mar 2008 16:05:49 +0000]
Add some examples.
Disallow combinations that make no sense.
Allow defaults to be set.

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

16 years agofix openrc startup; only fix inittab in plain initstyle
Benedikt Boehm [Tue, 11 Mar 2008 10:07:26 +0000]
fix openrc startup; only fix inittab in plain initstyle

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

16 years agobash doesn't execute traps until after the current job has finished executing, so...
Daniel Hokka Zakrisson [Mon, 10 Mar 2008 22:41:04 +0000]
bash doesn't execute traps until after the current job has finished executing, so run sleep in a loop.

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

16 years agoA kernel without IPv6-support will return ENOSYS for vc_net_remove_ipv6.
Daniel Hokka Zakrisson [Mon, 10 Mar 2008 19:59:18 +0000]
A kernel without IPv6-support will return ENOSYS for vc_net_remove_ipv6.

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

16 years agoadd openrc support to gentoo/initpost
Benedikt Boehm [Wed, 5 Mar 2008 15:46:31 +0000]
add openrc support to gentoo/initpost

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

16 years agoWorkaround kernel oddities.
Daniel Hokka Zakrisson [Sun, 2 Mar 2008 14:04:29 +0000]
Workaround kernel oddities.

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

16 years agoInclude attribute-util.h in the tarball.
Daniel Hokka Zakrisson [Sat, 1 Mar 2008 01:24:07 +0000]
Include attribute-util.h in the tarball.

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

16 years agolockf(F_LOCK) requests a write lock, which requires the file to be open in write...
Daniel Hokka Zakrisson [Sat, 1 Mar 2008 01:20:42 +0000]
lockf(F_LOCK) requests a write lock, which requires the file to be open in write mode.

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

16 years agoRemove unused variable.
Daniel Hokka Zakrisson [Sat, 1 Mar 2008 01:15:31 +0000]
Remove unused variable.

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

16 years agoFactor out bitfield-to-string code to src/attribute-util.h.
Daniel Hokka Zakrisson [Sat, 1 Mar 2008 01:07:49 +0000]
Factor out bitfield-to-string code to src/attribute-util.h.
Add --get for nattribute too.

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

16 years agoRevert commit 2690, clone is needed for pid namespaces and on kernels <2.6.16.
Daniel Hokka Zakrisson [Sat, 1 Mar 2008 00:26:31 +0000]
Revert commit 2690, clone is needed for pid namespaces and on kernels <2.6.16.

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

16 years agoAdd basic support for creating tun/tap interfaces in the configuration.
Daniel Hokka Zakrisson [Sat, 1 Mar 2008 00:22:34 +0000]
Add basic support for creating tun/tap interfaces in the configuration.

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

16 years agouse ! instead of ~ to avoid shell expansion
Enrico Scholz [Fri, 29 Feb 2008 22:16:07 +0000]
use ! instead of ~ to avoid shell expansion

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

16 years agouse unshare(CLONE_NEWNS) instead of a complicated 'clone(NEWNS) ... waitpid()' operation
Enrico Scholz [Fri, 29 Feb 2008 13:29:27 +0000]
use unshare(CLONE_NEWNS) instead of a complicated 'clone(NEWNS) ... waitpid()' operation

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

16 years agouse hostspecific Build directory
Enrico Scholz [Fri, 29 Feb 2008 13:27:58 +0000]
use hostspecific Build directory

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

16 years agoSet persist last, this way, no interface is left behind if one of the ioctls fail.
Daniel Hokka Zakrisson [Thu, 28 Feb 2008 23:54:32 +0000]
Set persist last, this way, no interface is left behind if one of the ioctls fail.

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

16 years agoAdd tunctl.
Daniel Hokka Zakrisson [Thu, 28 Feb 2008 23:28:31 +0000]
Add tunctl.

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

16 years agoAvoid pointer/integer conversion warning on LP64.
Daniel Hokka Zakrisson [Thu, 28 Feb 2008 23:12:06 +0000]
Avoid pointer/integer conversion warning on LP64.

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

16 years agoadded support for using libnss instead of beecrypt for vhashify's
Enrico Scholz [Thu, 21 Feb 2008 23:22:23 +0000]
added support for using libnss instead of beecrypt for vhashify's
hash calculation.  libnss has bad SHA1 performance on i386, but is a)
maintained and b) gives better performance with all other hashes and
on x86_64.

I am just waiting for somebody to write the OpenSSL layer so that I
can try the padlock hardware crypto device on my C7 ;)

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

16 years agoadded h2ext-worker to OPTIONS_PREEMPT list
Enrico Scholz [Thu, 21 Feb 2008 23:11:45 +0000]
added h2ext-worker to OPTIONS_PREEMPT list

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

16 years agofixed CPPFLAGS quoting problems introduced by last commit
Enrico Scholz [Thu, 21 Feb 2008 23:11:19 +0000]
fixed CPPFLAGS quoting problems introduced by last commit

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

16 years agofixed endless loop when no '--' is given
Enrico Scholz [Thu, 21 Feb 2008 23:10:34 +0000]
fixed endless loop when no '--' is given
fixed --help/--version handling

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

16 years agoadded code to enable i386 builds on x86_64 platforms
Enrico Scholz [Thu, 21 Feb 2008 22:34:40 +0000]
added code to enable i386 builds on x86_64 platforms
added $CONFIGURE_FLAGS configuration env
set LDFLAGS

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

16 years agofixed unused param + unsigned/signed mismatch warning
Enrico Scholz [Thu, 21 Feb 2008 22:33:21 +0000]
fixed unused param + unsigned/signed mismatch warning

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

16 years agofixed
Enrico Scholz [Thu, 21 Feb 2008 22:32:50 +0000]
fixed

| src/vspace.c:177: warning: passing argument 2 of 'isNumberUnsigned' from incompatible pointer type

warning

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

16 years agoUse lockf instead of flock, the former works on NFS.
Daniel Hokka Zakrisson [Sat, 16 Feb 2008 22:09:30 +0000]
Use lockf instead of flock, the former works on NFS.

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

16 years agoDisable VXF_SC_HELPER for rpm-fake created contexts.
Daniel Hokka Zakrisson [Thu, 14 Feb 2008 19:28:50 +0000]
Disable VXF_SC_HELPER for rpm-fake created contexts.

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

16 years agoSet the barrier and warn if it could not be set automatically.
Daniel Hokka Zakrisson [Mon, 11 Feb 2008 23:41:08 +0000]
Set the barrier and warn if it could not be set automatically.

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

16 years agoWe only want to wait on the context if we created it.
Daniel Hokka Zakrisson [Sat, 9 Feb 2008 00:27:46 +0000]
We only want to wait on the context if we created it.

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

16 years agoAdd missing svn:keywords.
Daniel Hokka Zakrisson [Sun, 27 Jan 2008 07:55:13 +0000]
Add missing svn:keywords.

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

16 years agoMake sure /dev gets proper permissions.
Daniel Hokka Zakrisson [Sat, 26 Jan 2008 11:44:57 +0000]
Make sure /dev gets proper permissions.

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

16 years agoPrevent deadlock between sc_helper vserver ... stop invocation, and stopSleepingGuest.
Daniel Hokka Zakrisson [Sat, 26 Jan 2008 11:44:15 +0000]
Prevent deadlock between sc_helper vserver ... stop invocation, and stopSleepingGuest.

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

16 years agoUse the correct syscall number.
Daniel Hokka Zakrisson [Wed, 23 Jan 2008 10:38:17 +0000]
Use the correct syscall number.

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

16 years agoFedora 8 is redhat-style too.
Daniel Hokka Zakrisson [Wed, 23 Jan 2008 06:14:25 +0000]
Fedora 8 is redhat-style too.

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

16 years agoFix vspace stuff.
Daniel Hokka Zakrisson [Tue, 22 Jan 2008 09:19:57 +0000]
Fix vspace stuff.

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

16 years agoDon't require a netmask/prefix.
Daniel Hokka Zakrisson [Mon, 21 Jan 2008 14:13:52 +0000]
Don't require a netmask/prefix.

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

16 years agoAdd missing files.
Daniel Hokka Zakrisson [Sun, 20 Jan 2008 08:15:28 +0000]
Add missing files.

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

16 years agoAdd missing closing tag.
Daniel Hokka Zakrisson [Sun, 20 Jan 2008 08:03:30 +0000]
Add missing closing tag.

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

16 years agoHopefully this will make it bullet-proof.
Daniel Hokka Zakrisson [Sun, 20 Jan 2008 08:01:17 +0000]
Hopefully this will make it bullet-proof.

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

16 years agoAdd preliminary support for pid and network namespaces.
Daniel Hokka Zakrisson [Sun, 20 Jan 2008 07:56:23 +0000]
Add preliminary support for pid and network namespaces.

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

16 years agogetPhysicalDir doesn't work if it doesn't already exist.
Daniel Hokka Zakrisson [Sun, 20 Jan 2008 06:58:39 +0000]
getPhysicalDir doesn't work if it doesn't already exist.

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

16 years agodebootstrap 1.0.8.
Daniel Hokka Zakrisson [Tue, 15 Jan 2008 13:26:33 +0000]
debootstrap 1.0.8.

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

16 years agoUse $cmd instead of $2.
Daniel Hokka Zakrisson [Sun, 13 Jan 2008 18:26:41 +0000]
Use $cmd instead of $2.

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

16 years agoOnly migrate to the tag once.
Daniel Hokka Zakrisson [Sun, 13 Jan 2008 18:26:17 +0000]
Only migrate to the tag once.

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

16 years agoAdd support for PID and net namespaces.
Daniel Hokka Zakrisson [Sat, 12 Jan 2008 15:55:25 +0000]
Add support for PID and net namespaces.

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

16 years agoPid namespaces require clone.
Daniel Hokka Zakrisson [Sat, 12 Jan 2008 15:48:04 +0000]
Pid namespaces require clone.

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

16 years agoFix svn:ignores.
Daniel Hokka Zakrisson [Sat, 12 Jan 2008 15:35:17 +0000]
Fix svn:ignores.

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

16 years agoBackslash...
Daniel Hokka Zakrisson [Tue, 8 Jan 2008 17:19:57 +0000]
Backslash...

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

16 years agoAttempt to close race between dying rpm-fake-resolver and other rpm-fake processes.
Daniel Hokka Zakrisson [Tue, 8 Jan 2008 16:53:54 +0000]
Attempt to close race between dying rpm-fake-resolver and other rpm-fake processes.

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

16 years agocache need not exist.
Daniel Hokka Zakrisson [Tue, 8 Jan 2008 16:49:17 +0000]
cache need not exist.

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

16 years agoWork with nonamespace guests.
Daniel Hokka Zakrisson [Sun, 6 Jan 2008 01:40:39 +0000]
Work with nonamespace guests.

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

16 years agoAdd --get.
Daniel Hokka Zakrisson [Fri, 4 Jan 2008 17:42:00 +0000]
Add --get.

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

16 years agoDon't remove bits for which there were no match.
Daniel Hokka Zakrisson [Thu, 3 Jan 2008 15:33:01 +0000]
Don't remove bits for which there were no match.
Cast 1 to the TYPE, so uint64 values can be looked up.

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

16 years agoMove WRITE_INT to util-io.h, so other programs can use it too.
Daniel Hokka Zakrisson [Thu, 3 Jan 2008 15:30:17 +0000]
Move WRITE_INT to util-io.h, so other programs can use it too.

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

16 years agoMake vmount <guest> -- -a work.
Daniel Hokka Zakrisson [Thu, 3 Jan 2008 14:18:30 +0000]
Make vmount <guest> -- -a work.

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

16 years agoFix typo.
Daniel Hokka Zakrisson [Thu, 3 Jan 2008 00:40:54 +0000]
Fix typo.

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

16 years agoLeave rsyslog enabled for Fedora 8.
Daniel Hokka Zakrisson [Sat, 22 Dec 2007 16:30:18 +0000]
Leave rsyslog enabled for Fedora 8.

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

16 years agoDon't bail on EINVAL, since the clone build method sets the contexts unconditionally.
Daniel Hokka Zakrisson [Thu, 20 Dec 2007 00:09:06 +0000]
Don't bail on EINVAL, since the clone build method sets the contexts unconditionally.

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

16 years agoRemove all unknown services.
Daniel Hokka Zakrisson [Wed, 19 Dec 2007 19:13:56 +0000]
Remove all unknown services.

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

16 years agoUse/support the "new" vclone features in the clone build method.
Daniel Hokka Zakrisson [Wed, 19 Dec 2007 14:28:40 +0000]
Use/support the "new" vclone features in the clone build method.

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

16 years agoAdd VXC_KTHREAD.
Daniel Hokka Zakrisson [Wed, 19 Dec 2007 02:17:10 +0000]
Add VXC_KTHREAD.

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

16 years agoUse TAG_KERNEL2USER on the result.
Daniel Hokka Zakrisson [Wed, 5 Dec 2007 14:24:37 +0000]
Use TAG_KERNEL2USER on the result.

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

16 years agoWork with newer versions of debootstrap too.
Daniel Hokka Zakrisson [Wed, 5 Dec 2007 00:51:04 +0000]
Work with newer versions of debootstrap too.

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

16 years agoCorrect path to keys.
Daniel Hokka Zakrisson [Mon, 3 Dec 2007 21:08:13 +0000]
Correct path to keys.

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

16 years agoDocument --debug.
Daniel Hokka Zakrisson [Mon, 3 Dec 2007 18:06:28 +0000]
Document --debug.

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

16 years agoUse --numeric-owner for tar and --numeric-uid-gid for cpio.
Daniel Hokka Zakrisson [Fri, 30 Nov 2007 23:18:47 +0000]
Use --numeric-owner for tar and --numeric-uid-gid for cpio.

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

16 years agoFloats are numbers too.
Daniel Hokka Zakrisson [Mon, 26 Nov 2007 23:47:41 +0000]
Floats are numbers too.

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

16 years agoAdd Fedora 8.
Daniel Hokka Zakrisson [Mon, 19 Nov 2007 04:48:10 +0000]
Add Fedora 8.

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

16 years agofix a corner case in gentoo helpers
Benedikt Boehm [Sat, 17 Nov 2007 23:52:59 +0000]
fix a corner case in gentoo helpers

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

16 years agouse sane PATH during shutdown
Benedikt Boehm [Sat, 17 Nov 2007 21:36:51 +0000]
use sane PATH during shutdown

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

17 years agoUpdate to 1.0.6.
Daniel Hokka Zakrisson [Tue, 13 Nov 2007 22:17:01 +0000]
Update to 1.0.6.

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

17 years agoAdd vmount, a wrapper to mount something in a guest.
Daniel Hokka Zakrisson [Mon, 29 Oct 2007 21:13:01 +0000]
Add vmount, a wrapper to mount something in a guest.

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

17 years agoMan pages update from Micah Anderson.
Daniel Hokka Zakrisson [Sat, 27 Oct 2007 19:34:50 +0000]
Man pages update from Micah Anderson.

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

17 years agoAdd "Alpine Linux".
Daniel Hokka Zakrisson [Thu, 25 Oct 2007 01:18:49 +0000]
Add "Alpine Linux".

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