util-vserver.git
17 years agoMove the Gentoo in-guest scripts to *_DATA, so rpm doesn't process them for deps.
Daniel Hokka Zakrisson [Sat, 24 Feb 2007 20:03:48 +0000]
Move the Gentoo in-guest scripts to *_DATA, so rpm doesn't process them for deps.

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

17 years agoFix the symlink problems.
Daniel Hokka Zakrisson [Sat, 24 Feb 2007 20:03:10 +0000]
Fix the symlink problems.

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

17 years agoUpdate to latest shiny.
Daniel Hokka Zakrisson [Thu, 22 Feb 2007 05:18:18 +0000]
Update to latest shiny.

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

17 years agoUpdate help message to correspond better with reality.
Daniel Hokka Zakrisson [Wed, 21 Feb 2007 20:07:53 +0000]
Update help message to correspond better with reality.

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

17 years agoAdd support for the migration flags.
Daniel Hokka Zakrisson [Tue, 20 Feb 2007 17:33:35 +0000]
Add support for the migration flags.

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

17 years agoMake nodev: silence the warning.
Daniel Hokka Zakrisson [Sat, 17 Feb 2007 19:10:20 +0000]
Make nodev: silence the warning.

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

17 years agoUpdate to latest shiny.
Daniel Hokka Zakrisson [Sat, 17 Feb 2007 19:01:20 +0000]
Update to latest shiny.

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

17 years ago&>> doesn't exist.
Daniel Hokka Zakrisson [Wed, 14 Feb 2007 19:32:11 +0000]
&>> doesn't exist.

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

17 years agoUpdate to latest shiny.
Daniel Hokka Zakrisson [Wed, 14 Feb 2007 19:24:35 +0000]
Update to latest shiny.

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

17 years agoWork better if the default tty is a file by using /dev/null for input and appending...
Daniel Hokka Zakrisson [Sun, 11 Feb 2007 20:21:48 +0000]
Work better if the default tty is a file by using /dev/null for input and appending the output.

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

17 years agoUpdate to shiny15.
Daniel Hokka Zakrisson [Sun, 11 Feb 2007 20:16:05 +0000]
Update to shiny15.

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

17 years agoRemove the --source and --dest "options" from vclone, both are required.
Daniel Hokka Zakrisson [Sun, 11 Feb 2007 00:45:04 +0000]
Remove the --source and --dest "options" from vclone, both are required.
Catch error conditions about the arguments in vclone.
Attempt to figure out where the source if it's not a directory, and make sure it is one before running vclone.

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

17 years agoXid 65535 is a static one when dynamic ones are disabled.
Daniel Hokka Zakrisson [Sat, 10 Feb 2007 15:06:07 +0000]
Xid 65535 is a static one when dynamic ones are disabled.

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

17 years agoAdd /usr/bin to exception list, to make sure we keep the /usr mount around.
Daniel Hokka Zakrisson [Fri, 9 Feb 2007 06:17:58 +0000]
Add /usr/bin to exception list, to make sure we keep the /usr mount around.

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

17 years agoFix the last, horribly broken commit.
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:59:03 +0000]
Fix the last, horribly broken commit.

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

17 years agoReally silence the warning.
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:45:25 +0000]
Really silence the warning.

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

17 years agoTry to figure out the xid if not specified.
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:40:22 +0000]
Try to figure out the xid if not specified.

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

17 years agoSilence warning.
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:39:50 +0000]
Silence warning.

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

17 years agoMake distrib/gentoo/net.vserver non-executable so RPM doesn't pick up a dependency...
Daniel Hokka Zakrisson [Mon, 5 Feb 2007 20:39:19 +0000]
Make distrib/gentoo/net.vserver non-executable so RPM doesn't pick up a dependency on /sbin/runscript.

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

17 years agofix vsomething arguments in gentoo wrappers
Benedikt Boehm [Mon, 5 Feb 2007 18:08:17 +0000]
fix vsomething arguments in gentoo wrappers

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

17 years ago- documented parts of the code were I needed to think >1min about its
Enrico Scholz [Sun, 4 Feb 2007 17:18:27 +0000]
- documented parts of the code were I needed to think >1min about its
  sense
- use ftruncate(2) instead of a lseek(2)+write(2) sequence to create a
  sparse file
- set O_NOCTTY flag for temp file

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

17 years ago- reworked the large pagesize patch; it seems to be always PAGESIZE*2+1
Enrico Scholz [Sun, 4 Feb 2007 17:17:02 +0000]
- reworked the large pagesize patch; it seems to be always PAGESIZE*2+1
  bytes required to trigger a SIGBUS. Since PAGESIZE is not available
  directly, use sysconf(3) to get this value and memset(3) to initialize
  buffer
- removed byte crap

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

17 years agoAdd missing hunk from the Gentoo initscripts commit.
Daniel Hokka Zakrisson [Thu, 1 Feb 2007 12:56:20 +0000]
Add missing hunk from the Gentoo initscripts commit.

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

17 years agoAdd Gentoo initscripts.
Daniel Hokka Zakrisson [Mon, 29 Jan 2007 23:37:07 +0000]
Add Gentoo initscripts.
Force sysv initscripts for the RPMs.

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

17 years agoThere's no need to enter the filesystem namespaces twice.
Daniel Hokka Zakrisson [Mon, 29 Jan 2007 02:06:30 +0000]
There's no need to enter the filesystem namespaces twice.

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

17 years agoWhen we call the external mount, we need to preserve all of the options so it can...
Daniel Hokka Zakrisson [Sun, 28 Jan 2007 11:35:19 +0000]
When we call the external mount, we need to preserve all of the options so it can parse them on its own.
The option defaults should set nodev in the flags.

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

17 years agovserver-copy is legacy, put the man page in the same package.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 23:16:20 +0000]
vserver-copy is legacy, put the man page in the same package.

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

17 years agoMove dynamic context generation to userspace.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 11:10:09 +0000]
Move dynamic context generation to userspace.

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

17 years agoSet nodev rather than just warning about it.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 10:20:40 +0000]
Set nodev rather than just warning about it.

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

17 years agoActually check the mtime when it's not optional.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 10:05:58 +0000]
Actually check the mtime when it's not optional.

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

17 years agoAdd an option (--ignore-mtime) to vhashify to hashify files with differing mtimes.
Daniel Hokka Zakrisson [Sat, 27 Jan 2007 09:38:56 +0000]
Add an option (--ignore-mtime) to vhashify to hashify files with differing mtimes.

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

17 years agoAdd entries that were missing from .defaults.
Daniel Hokka Zakrisson [Thu, 25 Jan 2007 13:14:33 +0000]
Add entries that were missing from .defaults.

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

17 years agoAdd option to chxid to skip unified files.
Daniel Hokka Zakrisson [Thu, 25 Jan 2007 09:51:43 +0000]
Add option to chxid to skip unified files.

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

17 years agoDon't overwrite files that already exist.
Daniel Hokka Zakrisson [Tue, 23 Jan 2007 16:43:01 +0000]
Don't overwrite files that already exist.

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

17 years agocleanup gentoo/initpost; add fixes for syslog-ng.conf and net dependency in baselayou...
Benedikt Boehm [Tue, 23 Jan 2007 16:41:03 +0000]
cleanup gentoo/initpost; add fixes for syslog-ng.conf and net dependency in baselayout >= 1.13

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

17 years ago... and the Makefile.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 20:17:14 +0000]
... and the Makefile.

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

17 years agoAdd the build method to the manifest too.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 20:06:33 +0000]
Add the build method to the manifest too.

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

17 years agoAdd the clone build method.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 20:05:19 +0000]
Add the clone build method.

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

17 years agoAdd vclone, to help with cloning guests.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 18:26:45 +0000]
Add vclone, to help with cloning guests.

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

17 years agoIf it doesn't exist, only error if requested.
Daniel Hokka Zakrisson [Sun, 21 Jan 2007 08:02:44 +0000]
If it doesn't exist, only error if requested.

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

17 years agofix runlevel scripts for older baselayouts too; set hostname inside the guest
Benedikt Boehm [Sat, 20 Jan 2007 17:31:44 +0000]
fix runlevel scripts for older baselayouts too; set hostname inside the guest

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

17 years agoReturn 0 on any error, older kernels will return -EPERM for unknown syscalls.
Daniel Hokka Zakrisson [Sat, 20 Jan 2007 13:55:42 +0000]
Return 0 on any error, older kernels will return -EPERM for unknown syscalls.

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

17 years agoDocument the configuration for vdevmap.
Daniel Hokka Zakrisson [Sat, 20 Jan 2007 09:36:19 +0000]
Document the configuration for vdevmap.

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

17 years agoPlace-holder documentation for now, until some better descriptions comes along.
Daniel Hokka Zakrisson [Sat, 20 Jan 2007 09:25:04 +0000]
Place-holder documentation for now, until some better descriptions comes along.

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

17 years agoAdd patch from David Woodhouse to work with 64 KiB pages.
Daniel Hokka Zakrisson [Sat, 20 Jan 2007 07:43:07 +0000]
Add patch from David Woodhouse to work with 64 KiB pages.

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

17 years agoAdd support for vdevmap in the configuration.
Daniel Hokka Zakrisson [Thu, 18 Jan 2007 16:35:03 +0000]
Add support for vdevmap in the configuration.

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

17 years agoFix logic error.
Daniel Hokka Zakrisson [Thu, 18 Jan 2007 16:33:45 +0000]
Fix logic error.

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

17 years agoAdd support for setting sysctl values in the configuration.
Daniel Hokka Zakrisson [Thu, 18 Jan 2007 13:38:06 +0000]
Add support for setting sysctl values in the configuration.

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

17 years agoadded patch for yum-3.0.3
Enrico Scholz [Thu, 18 Jan 2007 07:56:35 +0000]
added patch for yum-3.0.3

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

17 years agoRemove the disk limits after saving them.
Daniel Hokka Zakrisson [Thu, 18 Jan 2007 04:38:30 +0000]
Remove the disk limits after saving them.

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

17 years agoAdd VC_VXSM_MSEC.
Daniel Hokka Zakrisson [Wed, 17 Jan 2007 09:56:43 +0000]
Add VC_VXSM_MSEC.

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

17 years agoUse VCMD_set_sched_v4 as intended.
Daniel Hokka Zakrisson [Wed, 17 Jan 2007 09:56:23 +0000]
Use VCMD_set_sched_v4 as intended.

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

17 years agoRemove the dietlibc sanity check function, as what it's doing is already done elsewhere.
Daniel Hokka Zakrisson [Wed, 17 Jan 2007 09:54:53 +0000]
Remove the dietlibc sanity check function, as what it's doing is already done elsewhere.

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

17 years agofix missing world target in vupdateworld
Benedikt Boehm [Sun, 14 Jan 2007 12:30:02 +0000]
fix missing world target in vupdateworld

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

17 years agoTeach the spec how to build prereleases and release candidates.
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 22:23:39 +0000]
Teach the spec how to build prereleases and release candidates.

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

17 years agoThe new method doesn't need to be a spectator, and /proc/virtual isn't available...
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 19:27:56 +0000]
The new method doesn't need to be a spectator, and /proc/virtual isn't available there by default.

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

17 years agoAdd vc_sched_info API.
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 18:53:07 +0000]
Add vc_sched_info API.
Make vserver-stat use the various APIs instead of parsing per-process /proc entries.

vc_virt_stat.uptime is a uint64_t.
vc_get_dlimit can handle a NULL limits argument.

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

17 years agoThere is no vc_create_context. Stop referencing it.
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 18:49:13 +0000]
There is no vc_create_context. Stop referencing it.

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

17 years agoRemove persistent on stop.
Daniel Hokka Zakrisson [Wed, 10 Jan 2007 11:52:06 +0000]
Remove persistent on stop.

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

17 years agoCheck if dietlibc declares syscall incompatibly, to avoid errors.
Daniel Hokka Zakrisson [Tue, 9 Jan 2007 13:22:11 +0000]
Check if dietlibc declares syscall incompatibly, to avoid errors.
Move the syscall declaration to lib/syscall-wrap.h.

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

17 years agoFix output.
Daniel Hokka Zakrisson [Sun, 7 Jan 2007 22:27:21 +0000]
Fix output.

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

17 years agoSupport legacy guests on 2.6 kernels as well.
Daniel Hokka Zakrisson [Wed, 3 Jan 2007 11:55:04 +0000]
Support legacy guests on 2.6 kernels as well.

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

17 years agoThe CHBIND_OPTS need to be cleaned before handing them to $_CHBIND_COMPAT, let $_CHBI...
Daniel Hokka Zakrisson [Tue, 2 Jan 2007 20:54:26 +0000]
The CHBIND_OPTS need to be cleaned before handing them to $_CHBIND_COMPAT, let $_CHBIND do that.

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

17 years agoLet glibc use the alternative syscalls as well.
Daniel Hokka Zakrisson [Mon, 1 Jan 2007 19:37:36 +0000]
Let glibc use the alternative syscalls as well.

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

17 years agoOrganize things. Structures and functions dealing with similar things are now grouped...
Daniel Hokka Zakrisson [Sat, 30 Dec 2006 00:52:43 +0000]
Organize things. Structures and functions dealing with similar things are now grouped together.

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

17 years agoUse status for the process count instead since persistent adds a task there.
Daniel Hokka Zakrisson [Sat, 30 Dec 2006 00:40:09 +0000]
Use status for the process count instead since persistent adds a task there.

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

17 years agoAdd vdevmap to ignore.
Daniel Hokka Zakrisson [Sat, 30 Dec 2006 00:37:11 +0000]
Add vdevmap to ignore.

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

17 years agoReturn a sane value from kill_contexts.
Daniel Hokka Zakrisson [Fri, 29 Dec 2006 20:34:03 +0000]
Return a sane value from kill_contexts.

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

17 years agoUse the correct type for the configuration bitfield.
Daniel Hokka Zakrisson [Fri, 29 Dec 2006 20:33:26 +0000]
Use the correct type for the configuration bitfield.

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

17 years agoAdd util-vserver initscript handling.
Daniel Hokka Zakrisson [Fri, 29 Dec 2006 20:32:53 +0000]
Add util-vserver initscript handling.
Add %changelog comment.

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

17 years agoAdd vdevmap.
Daniel Hokka Zakrisson [Fri, 29 Dec 2006 20:30:22 +0000]
Add vdevmap.

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

17 years agoMove initscript functions to vserver-init.functions.
Daniel Hokka Zakrisson [Thu, 28 Dec 2006 00:07:05 +0000]
Move initscript functions to vserver-init.functions.
Make vprocunhide use said functions.
Add an initscript to set the helper and kill guest processes.

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

17 years agoAdd --without doc and --with legacy options.
Daniel Hokka Zakrisson [Thu, 28 Dec 2006 00:05:43 +0000]
Add --without doc and --with legacy options.

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

17 years agocosmetic fixes for vserver-wrapper
Benedikt Boehm [Wed, 20 Dec 2006 13:39:58 +0000]
cosmetic fixes for vserver-wrapper

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

17 years agoAdd --immutable, --~immutable and --!immutable.
Daniel Hokka Zakrisson [Tue, 19 Dec 2006 19:18:12 +0000]
Add --immutable, --~immutable and --!immutable.

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

17 years agoDon't check the VLAN stuff if novlandev was specified.
Daniel Hokka Zakrisson [Mon, 18 Dec 2006 11:26:28 +0000]
Don't check the VLAN stuff if novlandev was specified.

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

17 years agoError on too many arguments.
Daniel Hokka Zakrisson [Tue, 12 Dec 2006 13:18:31 +0000]
Error on too many arguments.

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

17 years agoUpdate debootstrap URL.
Daniel Hokka Zakrisson [Tue, 12 Dec 2006 13:18:11 +0000]
Update debootstrap URL.

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

17 years agoAdd vdevmap and required functionality.
Daniel Hokka Zakrisson [Tue, 12 Dec 2006 01:39:54 +0000]
Add vdevmap and required functionality.

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

17 years agoImprove the vshelper warning (common sign of multiple installs).
Daniel Hokka Zakrisson [Sun, 10 Dec 2006 17:45:28 +0000]
Improve the vshelper warning (common sign of multiple installs).

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

17 years agofixed location of the lockfile; formerly, the chroot path was prepended
Enrico Scholz [Sun, 10 Dec 2006 12:56:27 +0000]
fixed location of the lockfile; formerly, the chroot path was prepended
twice

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

17 years agoDon't enable the legacy initscript by default.
Daniel Hokka Zakrisson [Sun, 10 Dec 2006 00:57:53 +0000]
Don't enable the legacy initscript by default.

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

17 years agoVersion 0.30.212.
Daniel Hokka Zakrisson [Sat, 9 Dec 2006 16:13:54 +0000]
Version 0.30.212.

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

17 years agovserver.h defines CLONE_NEW*.
Daniel Hokka Zakrisson [Sat, 9 Dec 2006 16:12:18 +0000]
vserver.h defines CLONE_NEW*.
Remove unused include of sys_clone.h from vdlimit.

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

17 years agoMake getFileArray handle multiple files as well.
Daniel Hokka Zakrisson [Sat, 9 Dec 2006 16:02:03 +0000]
Make getFileArray handle multiple files as well.

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

17 years agoOnly enter the namespaces for static and dynamic xids (i.e. not the spectator).
Daniel Hokka Zakrisson [Fri, 8 Dec 2006 15:35:24 +0000]
Only enter the namespaces for static and dynamic xids (i.e. not the spectator).

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

17 years agoRather than keeping an unnecessary mount around just because it was the cwd, cd to...
Daniel Hokka Zakrisson [Fri, 8 Dec 2006 13:28:02 +0000]
Rather than keeping an unnecessary mount around just because it was the cwd, cd to the root at the beginning while storing the original cwd (so it can be used later).

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

17 years agoChange the default stylesheet.
Daniel Hokka Zakrisson [Fri, 8 Dec 2006 13:25:48 +0000]
Change the default stylesheet.

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

17 years agoAdd missing hunks from last commit.
Daniel Hokka Zakrisson [Fri, 8 Dec 2006 13:25:29 +0000]
Add missing hunks from last commit.

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

17 years agoWork better on 2.6.19.
Daniel Hokka Zakrisson [Fri, 8 Dec 2006 13:24:49 +0000]
Work better on 2.6.19.
This includes adding a new kind of API that depends on the VCI-bits, to detect the presence of spaces.
vnamespace now only enters the filesystem related namespaces (CLONE_NEWNS|CLONE_FS).
vc_ctx_migrate_spaces enters the others.
Fix dynamic context detection by using the VCI-bits.

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

17 years agoRemove unused argument.
Daniel Hokka Zakrisson [Fri, 8 Dec 2006 13:20:10 +0000]
Remove unused argument.

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

17 years agoUpdate kernel headers to 2.6.19-vs2.1.x-t7.
Daniel Hokka Zakrisson [Fri, 8 Dec 2006 13:05:06 +0000]
Update kernel headers to 2.6.19-vs2.1.x-t7.
Use the headers from make headers_install to cut down on unnecessary files/content.

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

17 years agoAdd cwd to the list of paths to exclude from namespace cleanup.
Daniel Hokka Zakrisson [Fri, 1 Dec 2006 21:10:28 +0000]
Add cwd to the list of paths to exclude from namespace cleanup.

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

17 years agoCorrect package and distribution name.
Daniel Hokka Zakrisson [Fri, 1 Dec 2006 18:41:01 +0000]
Correct package and distribution name.

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

17 years agoMake non-sysv initstyles work again.
Daniel Hokka Zakrisson [Tue, 28 Nov 2006 17:42:38 +0000]
Make non-sysv initstyles work again.

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

17 years agoAdd VLIMIT_MAPPED, for mapped files that are in RAM.
Daniel Hokka Zakrisson [Mon, 27 Nov 2006 14:18:46 +0000]
Add VLIMIT_MAPPED, for mapped files that are in RAM.

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

17 years agoDon't process unknown files.
Daniel Hokka Zakrisson [Mon, 27 Nov 2006 14:06:57 +0000]
Don't process unknown files.

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

17 years agoAdd missing quote.
Daniel Hokka Zakrisson [Sat, 25 Nov 2006 19:18:06 +0000]
Add missing quote.

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

17 years agoUse chroot-sh chmod to remove the symlink attack vector.
Daniel Hokka Zakrisson [Sat, 25 Nov 2006 19:17:51 +0000]
Use chroot-sh chmod to remove the symlink attack vector.

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

17 years agoAdd missing #include <stddef.h> needed for offsetof when using glibc.
Daniel Hokka Zakrisson [Sat, 25 Nov 2006 02:04:54 +0000]
Add missing #include <stddef.h> needed for offsetof when using glibc.

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