util-vserver.git
16 years agoEnter the spaces when migrating to an existing static context.
Daniel Hokka Zakrisson [Mon, 3 Nov 2008 19:52:53 +0000]
Enter the spaces when migrating to an existing static context.

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

16 years agoSigh.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 15:46:11 +0000]
Sigh.

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

16 years agoUse pivot_root on kernels supporting two namespaces per context.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 15:41:04 +0000]
Use pivot_root on kernels supporting two namespaces per context.

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

16 years agoFix vc_get_space_default and add vc_get_space_mask v1.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 15:40:01 +0000]
Fix vc_get_space_default and add vc_get_space_mask v1.

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

16 years agoAdd VCMD_{enter,set}_space_v2 support, in preparation of pivot_root.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:45:26 +0000]
Add VCMD_{enter,set}_space_v2 support, in preparation of pivot_root.

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

16 years agoRemove vnamespace in favor of vspace and a small wrapper around it.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:21:52 +0000]
Remove vnamespace in favor of vspace and a small wrapper around it.

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

16 years agoAdd hidden attribute to be used for versioned symbols.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:07:18 +0000]
Add hidden attribute to be used for versioned symbols.

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

16 years agoMove space creation/entering out of vc_ctx_{create,migrate}.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:05:53 +0000]
Move space creation/entering out of vc_ctx_{create,migrate}.

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

16 years agoCLONE_NEWNS and CLONE_FS aren't default spaces.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:00:53 +0000]
CLONE_NEWNS and CLONE_FS aren't default spaces.

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

16 years agoFilter out CLONE_NEWNS and CLONE_FS, as vc_get_space_default does.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:00:12 +0000]
Filter out CLONE_NEWNS and CLONE_FS, as vc_get_space_default does.

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

16 years agoNeed to be able to retrieve per-CPU values.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 22:45:15 +0000]
Need to be able to retrieve per-CPU values.

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

16 years agoLibrary versioning stubs.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 21:23:00 +0000]
Library versioning stubs.

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

16 years ago32-bit and Python 2.4 support.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 02:33:25 +0000]
32-bit and Python 2.4 support.

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

16 years agoThese got lost somehow.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 02:25:13 +0000]
These got lost somehow.

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

16 years agoBR: ctags
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 01:59:52 +0000]
BR: ctags

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

16 years agoSome minor cleanups in the Python build.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 01:21:08 +0000]
Some minor cleanups in the Python build.

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

16 years agoJust in case anything else wants to use Python as part of the build process.
Daniel Hokka Zakrisson [Wed, 29 Oct 2008 18:37:15 +0000]
Just in case anything else wants to use Python as part of the build process.

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

16 years ago65 is the length of the command structure's field.
Daniel Hokka Zakrisson [Wed, 29 Oct 2008 18:36:49 +0000]
65 is the length of the command structure's field.

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

16 years agoAdd Python stuff.
Daniel Hokka Zakrisson [Tue, 28 Oct 2008 00:56:45 +0000]
Add Python stuff.

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

16 years agovserver.start.bin
Daniel Hokka Zakrisson [Tue, 28 Oct 2008 00:51:15 +0000]
vserver.start.bin

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

16 years agoAdd Python bindings to libvserver.
Daniel Hokka Zakrisson [Tue, 28 Oct 2008 00:24:44 +0000]
Add Python bindings to libvserver.

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

16 years agoRename flags to cflags.
Daniel Hokka Zakrisson [Tue, 28 Oct 2008 00:23:26 +0000]
Rename flags to cflags.

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

16 years agoULL is needed to get a 64-bit wide integer.
Daniel Hokka Zakrisson [Mon, 27 Oct 2008 23:52:58 +0000]
ULL is needed to get a 64-bit wide integer.

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

16 years agoAdd new capabilities.
Daniel Hokka Zakrisson [Mon, 27 Oct 2008 22:58:20 +0000]
Add new capabilities.

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

16 years agoDisable vserver-start.
Daniel Hokka Zakrisson [Mon, 27 Oct 2008 22:58:01 +0000]
Disable vserver-start.

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

16 years agoRather than listing the unsafe capabilities, assume they're all unsafe unless
Daniel Hokka Zakrisson [Mon, 27 Oct 2008 22:54:35 +0000]
Rather than listing the unsafe capabilities, assume they're all unsafe unless
they're in this list.

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

16 years agoNo need to read the name again.
Daniel Hokka Zakrisson [Thu, 23 Oct 2008 21:37:26 +0000]
No need to read the name again.

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

16 years agoAdd arch initstyle.
Daniel Hokka Zakrisson [Sun, 19 Oct 2008 16:44:07 +0000]
Add arch initstyle.

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

16 years agoFix typo.
Daniel Hokka Zakrisson [Sat, 11 Oct 2008 18:51:58 +0000]
Fix typo.

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

16 years agoRevert getRootedPath prototype.
Daniel Hokka Zakrisson [Mon, 29 Sep 2008 01:17:06 +0000]
Revert getRootedPath prototype.

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

16 years agoAdd --default to get the kernel's suggested values.
Daniel Hokka Zakrisson [Mon, 29 Sep 2008 01:01:31 +0000]
Add --default to get the kernel's suggested values.
Add --~* versions to disable a space enabled by e.g. --default.

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

16 years agoInstall the F8/F9 keys.
Daniel Hokka Zakrisson [Mon, 29 Sep 2008 00:59:40 +0000]
Install the F8/F9 keys.

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

16 years agoFix the ts_done/ts_all confusion.
Daniel Hokka Zakrisson [Mon, 29 Sep 2008 00:56:09 +0000]
Fix the ts_done/ts_all confusion.

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

16 years agoUse version 3 to avoid warning message in newer kernels.
Daniel Hokka Zakrisson [Sun, 28 Sep 2008 11:24:07 +0000]
Use version 3 to avoid warning message in newer kernels.

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

16 years agoAdd hints for ionice.
Daniel Hokka Zakrisson [Sun, 28 Sep 2008 05:06:07 +0000]
Add hints for ionice.

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

16 years agoFix crypto API checks.
Daniel Hokka Zakrisson [Sun, 28 Sep 2008 05:05:50 +0000]
Fix crypto API checks.

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

16 years agonewkey repository for Fedora 9.
Daniel Hokka Zakrisson [Sun, 28 Sep 2008 05:04:58 +0000]
newkey repository for Fedora 9.

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

16 years agonewkey repository for Fedora 8.
Daniel Hokka Zakrisson [Sun, 28 Sep 2008 05:04:27 +0000]
newkey repository for Fedora 8.

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

16 years agoExcluded files are fine, don't flag them as failures just because nobody wants them.
Daniel Hokka Zakrisson [Tue, 16 Sep 2008 19:19:57 +0000]
Excluded files are fine, don't flag them as failures just because nobody wants them.

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

16 years agoRemove nuked files.
Daniel Hokka Zakrisson [Mon, 1 Sep 2008 12:54:09 +0000]
Remove nuked files.

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

16 years agochxid applies to the filesystem, so it should use tags.
Daniel Hokka Zakrisson [Sun, 31 Aug 2008 20:09:41 +0000]
chxid applies to the filesystem, so it should use tags.

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

16 years agoMake it easier to install more packages right away.
Daniel Hokka Zakrisson [Sun, 31 Aug 2008 20:09:05 +0000]
Make it easier to install more packages right away.

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

16 years agoaccess dereferences symbolic links. Use lstat instead.
Daniel Hokka Zakrisson [Fri, 29 Aug 2008 03:45:53 +0000]
access dereferences symbolic links. Use lstat instead.

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

16 years agoDevice nodes live here, so do the rbind using -o dev.
Daniel Hokka Zakrisson [Wed, 27 Aug 2008 17:41:16 +0000]
Device nodes live here, so do the rbind using -o dev.

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

16 years agoThis is going to be handled in the kernel.
Daniel Hokka Zakrisson [Wed, 27 Aug 2008 10:38:07 +0000]
This is going to be handled in the kernel.

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

16 years agoPreparations for actually reading mtab.
Daniel Hokka Zakrisson [Mon, 25 Aug 2008 22:57:09 +0000]
Preparations for actually reading mtab.

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

16 years agoUnmount the hierarchy too.
Daniel Hokka Zakrisson [Mon, 25 Aug 2008 22:55:45 +0000]
Unmount the hierarchy too.

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

16 years agoHandle read-only bind-mounts the new way.
Daniel Hokka Zakrisson [Mon, 25 Aug 2008 21:57:57 +0000]
Handle read-only bind-mounts the new way.

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

16 years agoIf /proc/sys is inaccessible, assume there are no settings.
Daniel Hokka Zakrisson [Mon, 25 Aug 2008 21:11:32 +0000]
If /proc/sys is inaccessible, assume there are no settings.

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

16 years agoFix the vps output when a guest fails to stops nicely.
Daniel Hokka Zakrisson [Sun, 24 Aug 2008 23:37:51 +0000]
Fix the vps output when a guest fails to stops nicely.

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

16 years agocgroup support.
Daniel Hokka Zakrisson [Sun, 24 Aug 2008 20:12:08 +0000]
cgroup support.

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

16 years agoIf $3 is set, the run file is expected to be cleaned up if the context does
Daniel Hokka Zakrisson [Sun, 24 Aug 2008 20:09:08 +0000]
If $3 is set, the run file is expected to be cleaned up if the context does
not exist. Fix the previous change to handle this correctly.

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

16 years agoWork with builds done in a separate directory.
Daniel Hokka Zakrisson [Sun, 24 Aug 2008 20:06:52 +0000]
Work with builds done in a separate directory.

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

16 years agof9
Daniel Hokka Zakrisson [Sun, 24 Aug 2008 03:11:11 +0000]
f9

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

16 years agoRemove the run file if the build fails.
Daniel Hokka Zakrisson [Sun, 24 Aug 2008 02:47:27 +0000]
Remove the run file if the build fails.

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

16 years agoRevert the atexit, as it appears to cause more problems, while not solving any.
Daniel Hokka Zakrisson [Sun, 24 Aug 2008 02:47:02 +0000]
Revert the atexit, as it appears to cause more problems, while not solving any.

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

16 years agoWorkaround rpm-fake brokenness by setting up a persistent context.
Daniel Hokka Zakrisson [Fri, 22 Aug 2008 21:41:47 +0000]
Workaround rpm-fake brokenness by setting up a persistent context.

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

16 years agoThis is a requirement for vc_getVserverCtx, so it should be a requirement in the...
Daniel Hokka Zakrisson [Fri, 22 Aug 2008 21:41:22 +0000]
This is a requirement for vc_getVserverCtx, so it should be a requirement in the scripts.

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

16 years agoRemove the runfile, if it exists.
Daniel Hokka Zakrisson [Fri, 22 Aug 2008 21:39:27 +0000]
Remove the runfile, if it exists.

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

16 years agoAdd PERSISTENT feature.
Daniel Hokka Zakrisson [Fri, 22 Aug 2008 21:01:58 +0000]
Add PERSISTENT feature.

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

16 years agoPid namespaces will come in 0x00020304.
Daniel Hokka Zakrisson [Fri, 22 Aug 2008 20:57:58 +0000]
Pid namespaces will come in 0x00020304.

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

16 years agoUmm, what?
Daniel Hokka Zakrisson [Fri, 22 Aug 2008 20:32:26 +0000]
Umm, what?

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

16 years agoFix silly typo.
Daniel Hokka Zakrisson [Thu, 21 Aug 2008 19:21:44 +0000]
Fix silly typo.

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

16 years agochmod makes no sense for a symlink.
Daniel Hokka Zakrisson [Thu, 21 Aug 2008 18:05:32 +0000]
chmod makes no sense for a symlink.

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

16 years agoPid namespace support will be available in 0x00020304.
Daniel Hokka Zakrisson [Thu, 21 Aug 2008 17:57:33 +0000]
Pid namespace support will be available in 0x00020304.

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

16 years agoSince using a destructor doesn't seem to work all that well, try using atexit instead.
Daniel Hokka Zakrisson [Thu, 21 Aug 2008 17:57:06 +0000]
Since using a destructor doesn't seem to work all that well, try using atexit instead.

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

16 years agoMake it easier to add rsync arguments.
Daniel Hokka Zakrisson [Thu, 21 Aug 2008 17:56:16 +0000]
Make it easier to add rsync arguments.

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

16 years agof9...
Daniel Hokka Zakrisson [Thu, 7 Aug 2008 19:44:32 +0000]
f9...

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

16 years agorsyslog is in Debian too.
Daniel Hokka Zakrisson [Sat, 2 Aug 2008 13:49:34 +0000]
rsyslog is in Debian too.

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

16 years agoprint yum.__version__ instead of executing "yum --version" which is very heavyweighte...
Enrico Scholz [Fri, 1 Aug 2008 10:19:21 +0000]
print yum.__version__ instead of executing "yum --version" which is very heavyweighted in recent versions and gives out additional informations confusing the parser

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

16 years agoAdd the /dev/fd symlink that is expected by more and more things.
Daniel Hokka Zakrisson [Mon, 28 Jul 2008 21:44:19 +0000]
Add the /dev/fd symlink that is expected by more and more things.

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

16 years agoInstall initctl file.
Daniel Hokka Zakrisson [Fri, 18 Jul 2008 14:29:28 +0000]
Install initctl file.

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

16 years agoBe silent if it's not a Linux-VServer kernel.
Daniel Hokka Zakrisson [Thu, 17 Jul 2008 14:53:03 +0000]
Be silent if it's not a Linux-VServer kernel.

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

16 years agoThis is not an option used by the utils, but the semantics are for filesystem namespaces.
Daniel Hokka Zakrisson [Tue, 15 Jul 2008 22:16:01 +0000]
This is not an option used by the utils, but the semantics are for filesystem namespaces.

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

16 years agoUse sys_clone in Eclone.
Daniel Hokka Zakrisson [Tue, 15 Jul 2008 22:14:13 +0000]
Use sys_clone in Eclone.

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

16 years agoAdd exec-remount.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 20:26:41 +0000]
Add exec-remount.

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

16 years agoSupport building against nss by using --without beecrypt.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 20:26:28 +0000]
Support building against nss by using --without beecrypt.

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

16 years agoAdd new 0x00020303 API, using pid namespaces.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 20:09:00 +0000]
Add new 0x00020303 API, using pid namespaces.

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

16 years agoAdd exec-remount.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 14:15:13 +0000]
Add exec-remount.

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

16 years agoAdd exitlikeprocess.c.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 14:12:02 +0000]
Add exitlikeprocess.c.

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

16 years agoAdd SPACES feature.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 14:10:59 +0000]
Add SPACES feature.

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

16 years agoDocument ionice options.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 14:09:51 +0000]
Document ionice options.

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

16 years agoMove exitLikeProcess to libvserver.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 13:12:25 +0000]
Move exitLikeProcess to libvserver.

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

16 years agoSilence warnings.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 13:09:44 +0000]
Silence warnings.

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

16 years agoEscape >.
Daniel Hokka Zakrisson [Mon, 14 Jul 2008 12:55:46 +0000]
Escape >.

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

16 years agoMerge ionice patch (originally from anonc, updated for newer util-vserver by cehteh).
Daniel Hokka Zakrisson [Sun, 13 Jul 2008 17:51:18 +0000]
Merge ionice patch (originally from anonc, updated for newer util-vserver by cehteh).

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

16 years agoexec-remount remounts proc and sys, to get the right namespaces associated with them.
Daniel Hokka Zakrisson [Sun, 13 Jul 2008 17:34:35 +0000]
exec-remount remounts proc and sys, to get the right namespaces associated with them.

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

16 years agoTeach vprocunhide about --write.
Daniel Hokka Zakrisson [Sun, 13 Jul 2008 16:00:29 +0000]
Teach vprocunhide about --write.

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

16 years agoprctl does not work as well as this. Revert changeset 2731.
Daniel Hokka Zakrisson [Fri, 11 Jul 2008 15:24:03 +0000]
prctl does not work as well as this. Revert changeset 2731.

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

16 years agoAdd support for IATTR_WRITE.
Daniel Hokka Zakrisson [Fri, 11 Jul 2008 15:20:35 +0000]
Add support for IATTR_WRITE.

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

16 years agoUse prctl(PR_SET_NAME) instead.
Daniel Hokka Zakrisson [Thu, 10 Jul 2008 18:06:00 +0000]
Use prctl(PR_SET_NAME) instead.

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

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