util-vserver.git
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

17 years agoCleanup the help message.
Daniel Hokka Zakrisson [Thu, 25 Oct 2007 00:26:15 +0000]
Cleanup the help message.

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

17 years agoCreate helper functions to start a guest that just sleeps and kills.
Daniel Hokka Zakrisson [Thu, 25 Oct 2007 00:23:55 +0000]
Create helper functions to start a guest that just sleeps and kills.

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

17 years agoFix startup bug on older kernels.
Daniel Hokka Zakrisson [Mon, 22 Oct 2007 20:43:09 +0000]
Fix startup bug on older kernels.

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

17 years agoLots of small fixes to make everything behave like it should.
Daniel Hokka Zakrisson [Tue, 16 Oct 2007 00:27:58 +0000]
Lots of small fixes to make everything behave like it should.

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

17 years agoAdd vmemctrl and vspace to the manifest.
Daniel Hokka Zakrisson [Mon, 15 Oct 2007 11:38:02 +0000]
Add vmemctrl and vspace to the manifest.

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

17 years agoAdd support for per-guest device maps.
Daniel Hokka Zakrisson [Mon, 15 Oct 2007 11:31:52 +0000]
Add support for per-guest device maps.

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

17 years agoImprove the disk limit descriptions.
Daniel Hokka Zakrisson [Sun, 14 Oct 2007 14:40:18 +0000]
Improve the disk limit descriptions.

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

17 years agoHide conntrack files.
Daniel Hokka Zakrisson [Sun, 14 Oct 2007 00:32:39 +0000]
Hide conntrack files.

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

17 years agoAdd support for the OOM bias in the configuration.
Daniel Hokka Zakrisson [Sat, 13 Oct 2007 14:17:48 +0000]
Add support for the OOM bias in the configuration.

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

17 years agoAdd support for the OOM bias, and vmemctrl to control it.
Daniel Hokka Zakrisson [Sat, 13 Oct 2007 12:13:30 +0000]
Add support for the OOM bias, and vmemctrl to control it.

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

17 years agoAdded vspace, like vnamespace but generic.
Daniel Hokka Zakrisson [Sat, 13 Oct 2007 01:10:47 +0000]
Added vspace, like vnamespace but generic.

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

17 years agoRun fsck on filesystems in the guest's fstab.
Daniel Hokka Zakrisson [Fri, 12 Oct 2007 00:03:23 +0000]
Run fsck on filesystems in the guest's fstab.

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

17 years agoRanges might want masks too.
Daniel Hokka Zakrisson [Thu, 11 Oct 2007 23:47:59 +0000]
Ranges might want masks too.

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

17 years agoAdd support for vc_unset_mapping introduced in 2.3.0.27.
Daniel Hokka Zakrisson [Thu, 11 Oct 2007 20:37:56 +0000]
Add support for vc_unset_mapping introduced in 2.3.0.27.

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

17 years agoClarify which entries are required for cpusets.
Daniel Hokka Zakrisson [Wed, 10 Oct 2007 09:01:49 +0000]
Clarify which entries are required for cpusets.

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

17 years agoPeople love symlinks.
Daniel Hokka Zakrisson [Sat, 6 Oct 2007 17:23:59 +0000]
People love symlinks.

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

17 years agoadded support for yum's new persistdir option
Enrico Scholz [Tue, 11 Sep 2007 21:26:41 +0000]
added support for yum's new persistdir option

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

17 years agofixed patch and re-added lost hunk which caused broken paths for cachedir, logfile...
Enrico Scholz [Tue, 11 Sep 2007 21:22:03 +0000]
fixed patch and re-added lost hunk which caused broken paths for cachedir, logfile and friends

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

17 years agoUnbreak dynamic contexts.
Daniel Hokka Zakrisson [Thu, 6 Sep 2007 17:48:35 +0000]
Unbreak dynamic contexts.

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

17 years agoadded patch for yum-3.2.4
Enrico Scholz [Thu, 6 Sep 2007 07:53:46 +0000]
added patch for yum-3.2.4

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

17 years agowhitespace-cleanup
Enrico Scholz [Mon, 3 Sep 2007 07:42:17 +0000]
whitespace-cleanup

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

17 years agofixed const-ness of matchlist functions
Enrico Scholz [Mon, 3 Sep 2007 07:40:40 +0000]
fixed const-ness of matchlist functions

made the initial file-list a 'char const **' to ease
initialization from string constants

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

17 years agofixed declaration of 'struct stat'
Enrico Scholz [Mon, 3 Sep 2007 07:38:46 +0000]
fixed declaration of 'struct stat'

include <sys/stat.h> instead of declaring it with 'struct stat'
as it might cause conflicts when 'stat' is #defined as stat64
in this header

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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