util-vserver.git
19 years agoadded comparevserverbyid.c
Enrico Scholz [Tue, 25 Oct 2005 16:17:12 +0000]
added comparevserverbyid.c

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

19 years agosave some bytes on the stack...
Enrico Scholz [Tue, 25 Oct 2005 16:11:32 +0000]
save some bytes on the stack...

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

19 years agodisable expensive tests by default
Enrico Scholz [Tue, 25 Oct 2005 16:09:30 +0000]
disable expensive tests by default

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

19 years agoimproved 'silent.%' target a little bit (might be incompatible with
Enrico Scholz [Tue, 25 Oct 2005 16:08:31 +0000]
improved 'silent.%' target a little bit (might be incompatible with
older grep but it's for developing only...)

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

19 years agoadded hashcalc.sh
Enrico Scholz [Tue, 25 Oct 2005 16:06:26 +0000]
added hashcalc.sh

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

19 years agofixed params in calculateHashFromFD() call
Enrico Scholz [Tue, 25 Oct 2005 16:06:01 +0000]
fixed params in calculateHashFromFD() call

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

19 years agotestInternal(): fixed return value for non-existing files
Enrico Scholz [Sun, 23 Oct 2005 22:55:12 +0000]
testInternal(): fixed return value for non-existing files

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

19 years agoadded hashcalc
Enrico Scholz [Sun, 23 Oct 2005 22:50:59 +0000]
added hashcalc

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

19 years agoadded TESTSUITE mode
Enrico Scholz [Sun, 23 Oct 2005 22:49:45 +0000]
added TESTSUITE mode

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

19 years agofixed VLAN setup: set the name-type, honor the 'ip' value and use the
Enrico Scholz [Sun, 9 Oct 2005 09:11:17 +0000]
fixed VLAN setup: set the name-type, honor the 'ip' value and use the
device name on removal (reported by Timothy Arnold,
https://savannah.nongnu.org/bugs/?func=detailitem&item_id=14148)

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

19 years agofixed detection of commented lines in config-files; formerly, only a
Enrico Scholz [Mon, 8 Aug 2005 22:15:38 +0000]
fixed detection of commented lines in config-files; formerly, only a
single '#' was detected which does not really make sense for comments...

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

19 years agoupdated URLs
Enrico Scholz [Mon, 25 Jul 2005 15:52:14 +0000]
updated URLs

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

19 years ago- made the alarm() code working with glibc also; glibc restarts
Enrico Scholz [Mon, 25 Jul 2005 15:50:48 +0000]
- made the alarm() code working with glibc also; glibc restarts
  vc_wait_exit() instead of interrupting it so an explicit
  siginterrupt(2) is required
- call alarm(2) again when EINTR was seen

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

19 years agoexecute 'base.setSuccess' finally
Enrico Scholz [Mon, 25 Jul 2005 15:47:28 +0000]
execute 'base.setSuccess' finally

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

19 years agorpm.sanityCheck(): added; it warns about missing initpre scripts
Enrico Scholz [Mon, 25 Jul 2005 15:46:40 +0000]
rpm.sanityCheck(): added; it warns about missing initpre scripts

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

19 years ago- getDistribution(): added sanity checks to make sure that there exist
Enrico Scholz [Mon, 25 Jul 2005 15:45:59 +0000]
- getDistribution(): added sanity checks to make sure that there exist
  a configuration for the selected distribution
- base.initFilesystem(): allow empty directories as root directories
  for new vservers; this uses the new isDirectoryEmpty() function
- base.__cleanup(): armed the cleanup code; formerly there was still
  the safety 'echo' giving out the resulting command instead of
  executing it

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

19 years agouse new calling convention of getDistribution(); 'debootstrap' does
Enrico Scholz [Mon, 25 Jul 2005 15:42:02 +0000]
use new calling convention of getDistribution(); 'debootstrap' does
not require an explicit configuration of the distribution

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

19 years agofixed typo (s!$CHBIND!$_CHBIND!)
Enrico Scholz [Mon, 25 Jul 2005 15:41:00 +0000]
fixed typo (s!$CHBIND!$_CHBIND!)

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

19 years agocall rpm.sanityCheck()
Enrico Scholz [Mon, 25 Jul 2005 15:40:22 +0000]
call rpm.sanityCheck()

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

19 years agoisDirectoryEmpty(): added
Enrico Scholz [Mon, 25 Jul 2005 15:39:01 +0000]
isDirectoryEmpty(): added
col*(): added

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

19 years agoversion 0.30.208
Enrico Scholz [Fri, 15 Jul 2005 20:25:06 +0000]
version 0.30.208

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

19 years agocheck whether enums from <linux/personality.h> are available before using
Enrico Scholz [Fri, 15 Jul 2005 19:40:15 +0000]
check whether enums from <linux/personality.h> are available before using
them (https://savannah.nongnu.org/bugs/?func=detailitem&item_id=12921)

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

19 years ago- require the -lib subpackage by -devel
Enrico Scholz [Fri, 15 Jul 2005 19:06:58 +0000]
- require the -lib subpackage by -devel
- copy GPG keys from /etc/pki/rpm-gpg/

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

19 years agofixed paths so that it works again...
Enrico Scholz [Fri, 15 Jul 2005 19:02:17 +0000]
fixed paths so that it works again...

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

19 years agodo not run when IATTR feature is not supported
Enrico Scholz [Fri, 15 Jul 2005 19:01:33 +0000]
do not run when IATTR feature is not supported

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

19 years agoreadded the limit-ulimits-per-vserver stuff due to popular requests
Enrico Scholz [Fri, 15 Jul 2005 19:01:06 +0000]
readded the limit-ulimits-per-vserver stuff due to popular requests
(http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12840)

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

19 years ago- adjusted insecure caps for the added CAP_AUDIT* and removed
Enrico Scholz [Fri, 15 Jul 2005 18:59:55 +0000]
- adjusted insecure caps for the added CAP_AUDIT* and removed
  CAP_QUOTACTL stuff
- assume every unknown capability as insecure

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

19 years agoadded 'personality'
Enrico Scholz [Fri, 15 Jul 2005 18:58:57 +0000]
added 'personality'

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

19 years agochanged code so that it *compiles* with current kernel headers
Enrico Scholz [Fri, 15 Jul 2005 18:07:24 +0000]
changed code so that it *compiles* with current kernel headers

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

19 years agoChanged the barrier-code so that it sets both the 't' ext2-flag and
Enrico Scholz [Fri, 15 Jul 2005 18:06:27 +0000]
Changed the barrier-code so that it sets both the 't' ext2-flag and
chmod-0 permissions. This is required to work with 1.2.10 patch;
formerly the chmod-0 sufficed. [reported by Bjoern Steinbrink,
http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13170]

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

19 years agouse a static '29' for QUOTACTL capability as VC_CAP_QUOTACTL was removed
Enrico Scholz [Fri, 15 Jul 2005 16:32:05 +0000]
use a static '29' for QUOTACTL capability as  VC_CAP_QUOTACTL was removed

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

19 years agoadded VC_VXC_{SYSLOG,BINARY_MOUNT,QUOTA_CTL}
Enrico Scholz [Fri, 15 Jul 2005 16:28:18 +0000]
added VC_VXC_{SYSLOG,BINARY_MOUNT,QUOTA_CTL}
added/moved some aliases

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

19 years agoremoved VC_CAP_QUOTACTL
Enrico Scholz [Fri, 15 Jul 2005 16:27:37 +0000]
removed VC_CAP_QUOTACTL
added VC_CAP_AUDIT*

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

19 years agoremoved VC_CAP_QUOTACTL
Enrico Scholz [Fri, 15 Jul 2005 16:27:02 +0000]
removed VC_CAP_QUOTACTL
added VC_CAP_AUDIT*
added VC_VXC_{SYSLOG,BINARY_MOUNT,QUOTA_CTL}

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

19 years agoadded yum-2.3.4-chroot patch
Enrico Scholz [Fri, 15 Jul 2005 16:25:39 +0000]
added yum-2.3.4-chroot patch

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

19 years agoupdated to patch-2.6.12.2-vs2.0-rc7
Enrico Scholz [Fri, 15 Jul 2005 16:25:01 +0000]
updated to patch-2.6.12.2-vs2.0-rc7

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

19 years agocheck whether context is already active before starting the build
Enrico Scholz [Mon, 4 Jul 2005 22:38:42 +0000]
check whether context is already active before starting the build
(http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12849)

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

19 years agoallow to pass a numeric xid to 'vserver-info ... RUNNING'
Enrico Scholz [Mon, 4 Jul 2005 22:36:46 +0000]
allow to pass a numeric xid to 'vserver-info ... RUNNING'

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

19 years agoisNumber(): added
Enrico Scholz [Mon, 4 Jul 2005 22:35:47 +0000]
isNumber(): added

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

19 years agogive out status message before downloading debootstrap
Enrico Scholz [Mon, 4 Jul 2005 18:14:29 +0000]
give out status message before downloading debootstrap
(http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13472)

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

19 years agoupdated to http://vserver.13thfloor.at/Experimental/SYSCALL/syscall.h
Enrico Scholz [Mon, 4 Jul 2005 18:03:50 +0000]
updated to vserver.13thfloor.at/Experimental/SYSCALL/syscall.h
from 2005-05-07

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

19 years agooops... set the wrong value
Enrico Scholz [Sun, 3 Jul 2005 22:42:10 +0000]
oops... set the wrong value

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

19 years agoupdated
Enrico Scholz [Sun, 3 Jul 2005 22:40:55 +0000]
updated

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

19 years agoregister fc4 as rh-style distribution
Enrico Scholz [Sun, 3 Jul 2005 22:40:43 +0000]
register fc4 as rh-style distribution

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

19 years agocheck for 'nohup'
Enrico Scholz [Sun, 3 Jul 2005 20:15:39 +0000]
check for 'nohup'

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

19 years agoremoved chroot_* + C++ programs
Enrico Scholz [Sun, 3 Jul 2005 17:53:25 +0000]
removed chroot_* + C++ programs
added chroot_sh + vwait

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

19 years agoupdated used kernel headers to 2.6.12.2-vs2.0-rc5
Enrico Scholz [Sun, 3 Jul 2005 17:51:00 +0000]
updated used kernel headers to 2.6.12.2-vs2.0-rc5

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

19 years ago- s!VCMD_vx_.et_vhi_name!VCMD_.et_vhi_name!
Enrico Scholz [Sun, 3 Jul 2005 17:49:57 +0000]
- s!VCMD_vx_.et_vhi_name!VCMD_.et_vhi_name!
- added workaround for older kernels not having the naming above

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

19 years agoaccept 'async' method
Enrico Scholz [Sun, 3 Jul 2005 17:48:13 +0000]
accept 'async' method

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

19 years agopipe 'popd' output to /dev/null
Enrico Scholz [Sun, 3 Jul 2005 17:47:41 +0000]
pipe 'popd' output to /dev/null

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

19 years agoinitSync(): fixed parameter naming
Enrico Scholz [Sun, 3 Jul 2005 17:47:06 +0000]
initSync(): fixed parameter naming
initSync(): set 'async' method when 'vwait' is available
_waitForVWait(): read pipe after 'wait' returned

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

19 years agodo not set OPTION_KEEP
Enrico Scholz [Sun, 3 Jul 2005 17:45:43 +0000]
do not set OPTION_KEEP

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

19 years agoadded vwait
Enrico Scholz [Sun, 3 Jul 2005 17:43:55 +0000]
added vwait

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

19 years ago- cleanups
Enrico Scholz [Sun, 3 Jul 2005 17:43:34 +0000]
- cleanups
- unset %_dbpath at 'internalize' operation

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

19 years agovshelper.initSync(): fixed parameter naming
Enrico Scholz [Sun, 3 Jul 2005 17:42:49 +0000]
vshelper.initSync(): fixed parameter naming

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

19 years agoimplemented 'testfile' subcommand
Enrico Scholz [Sun, 3 Jul 2005 17:40:15 +0000]
implemented 'testfile' subcommand

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

19 years agoadded yum-2.3.3-chroot.patch
Enrico Scholz [Sun, 3 Jul 2005 14:42:44 +0000]
added yum-2.3.3-chroot.patch

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

19 years agodo not quote $_VSHELPER in help message (reported by Roman Barczynski,
Enrico Scholz [Sun, 3 Jul 2005 14:10:14 +0000]
do not quote $_VSHELPER in help message (reported by Roman Barczynski,
https://savannah.nongnu.org/bugs/?func=detailitem&item_id=13162)

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

19 years agomentioned the working directory for the scripts
Enrico Scholz [Sun, 3 Jul 2005 14:03:42 +0000]
mentioned the working directory for the scripts

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

19 years agoupdated to 2.6.12.2-vs2.0-rc5
Enrico Scholz [Sun, 3 Jul 2005 14:02:03 +0000]
updated to 2.6.12.2-vs2.0-rc5

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

19 years agoexecute the prepre script in the configuration directory (*not* the
Enrico Scholz [Sun, 3 Jul 2005 13:19:45 +0000]
execute the prepre script in the configuration directory (*not* the
vdir directory); this should not cause legacy problems as formerly the
directory was not changed overall

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

19 years agocheck whether filesystem is mounted readonly; if so, execute
Enrico Scholz [Sun, 3 Jul 2005 13:18:34 +0000]
check whether filesystem is mounted readonly; if so, execute
$_SECURE_MOUNT with the '-n' argument

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

19 years agoexecute base.setSuccess() at the end
Enrico Scholz [Sun, 3 Jul 2005 13:17:38 +0000]
execute base.setSuccess() at the end

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

19 years agoimplemented better error-handling in the read() and write() functions
Enrico Scholz [Sun, 3 Jul 2005 13:16:34 +0000]
implemented better error-handling in the read() and write() functions

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

19 years agostore result of read*(2) and write*(2) fucntions into signed variables;
Enrico Scholz [Sun, 3 Jul 2005 12:33:44 +0000]
store result of read*(2) and write*(2) fucntions into signed variables;
error handling is more cleaner in this way

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

19 years ago- cleanups
Enrico Scholz [Sun, 3 Jul 2005 12:31:25 +0000]
- cleanups
- multiply RSS value with PAGESIZE
  (https://savannah.nongnu.org/bugs/?func=detailitem&item_id=13184)
- prepare the '-O' option: calculate vserver names earlier and use
  some more helper functions

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

19 years ago- doPwStringRequest(): fixed x86_64 issue; rpm-fake.so transmitted a
Enrico Scholz [Sun, 3 Jul 2005 12:26:28 +0000]
- doPwStringRequest(): fixed x86_64 issue; rpm-fake.so transmitted a
  'size_t' value, but rpm-fake-resolver expected an uint32_t
- minor cleanups

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

19 years agoadded Vector_foreach*() functions
Enrico Scholz [Sun, 3 Jul 2005 09:12:31 +0000]
added Vector_foreach*() functions

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

19 years agoremoved the C++ tools; they do not work with recent configuration and
Enrico Scholz [Sat, 2 Jul 2005 09:17:55 +0000]
removed the C++ tools; they do not work with recent configuration and
are adding huge dependencies

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

19 years agouse vwait infrastructure
Enrico Scholz [Thu, 30 Jun 2005 06:17:58 +0000]
use vwait infrastructure

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

19 years agouse CHROOT_SH instead of CHROOT_*
Enrico Scholz [Thu, 30 Jun 2005 06:16:58 +0000]
use CHROOT_SH instead of CHROOT_*
use vwait

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

19 years agoremove generated vserver when build fails and '--keep' was not specified
Enrico Scholz [Thu, 30 Jun 2005 06:16:08 +0000]
remove generated vserver when build fails and '--keep' was not specified

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

19 years agouse 'base.init' instead of 'base.initVariables'
Enrico Scholz [Thu, 30 Jun 2005 06:13:09 +0000]
use 'base.init' instead of 'base.initVariables'

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

19 years agoadded '--keep' option
Enrico Scholz [Thu, 30 Jun 2005 06:12:20 +0000]
added '--keep' option

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

19 years agoremoved CHROOT_*
Enrico Scholz [Thu, 30 Jun 2005 06:11:51 +0000]
removed CHROOT_*
added CHROOT_SH

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

19 years agouse CHROOT_SH instead of CHROOT_*
Enrico Scholz [Thu, 30 Jun 2005 06:11:35 +0000]
use CHROOT_SH instead of CHROOT_*

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

19 years agoinclude signal_cmd.h instead of signal.h
Enrico Scholz [Thu, 30 Jun 2005 06:10:48 +0000]
include signal_cmd.h instead of signal.h

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

19 years agoadded %dist tag
Enrico Scholz [Thu, 30 Jun 2005 06:10:23 +0000]
added %dist tag
buildrequire 'which' and 'diffutils'
require 'apt' on i386 only

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

19 years agoinitial checkin
Enrico Scholz [Thu, 30 Jun 2005 06:07:09 +0000]
initial checkin

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

19 years agouse CHROOT_SH instead of CHROOT_*
Enrico Scholz [Thu, 30 Jun 2005 06:06:14 +0000]
use CHROOT_SH instead of CHROOT_*

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

19 years agoreplaced all the small chroot-* programs with a single 'chroot-sh'
Enrico Scholz [Thu, 30 Jun 2005 05:58:43 +0000]
replaced all the small chroot-* programs with a single 'chroot-sh'
program

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

19 years agoadded @NOHUP@
Enrico Scholz [Thu, 19 May 2005 18:17:19 +0000]
added @NOHUP@

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

19 years agouse new chroot-cat CLI
Enrico Scholz [Thu, 19 May 2005 18:16:57 +0000]
use new chroot-cat CLI

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

19 years agoupdated
Enrico Scholz [Thu, 19 May 2005 18:10:26 +0000]
updated

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

19 years agovc_isSupported() et.al: added VWAIT feature
Enrico Scholz [Thu, 19 May 2005 18:05:18 +0000]
vc_isSupported() et.al: added VWAIT feature

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

19 years agos!enable_val!enableval!
Enrico Scholz [Thu, 19 May 2005 18:04:12 +0000]
s!enable_val!enableval!

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

19 years agofixed calculation of hours (%24 instead of %60); reported in
Enrico Scholz [Thu, 19 May 2005 18:02:21 +0000]
fixed calculation of hours (%24 instead of %60); reported in
http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13048 by
Roman Barczynski

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

19 years agoadded '-i', '-o' and '-a' options to cat or override a file, or to
Enrico Scholz [Thu, 19 May 2005 18:01:06 +0000]
added '-i', '-o' and '-a' options to cat or override a file, or to
append something

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

19 years agouse safe chroot-cat commands
Enrico Scholz [Thu, 19 May 2005 17:59:17 +0000]
use safe chroot-cat commands

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

19 years ago- give out a more correct helpstring for the '--enable/disable-dietlibc'
Enrico Scholz [Thu, 5 May 2005 19:13:52 +0000]
- give out a more correct helpstring for the '--enable/disable-dietlibc'
  option
- use AS_HELP_STRING instead of AC_HELP_STRING

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

19 years ago- removed call to ENSC_FPIC_SYSCALL
Enrico Scholz [Thu, 5 May 2005 18:31:53 +0000]
- removed call to ENSC_FPIC_SYSCALL
- enhanced dietlibc version check to the 64 bit version of hppa

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

19 years agoadded vwait
Enrico Scholz [Thu, 5 May 2005 09:24:13 +0000]
added vwait

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

19 years agoinitial checkin
Enrico Scholz [Thu, 5 May 2005 09:22:03 +0000]
initial checkin

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

19 years agouse '__linux__' instead of '__linux' (reported by Ola Lundqvist)
Enrico Scholz [Thu, 5 May 2005 09:21:21 +0000]
use '__linux__' instead of '__linux' (reported by Ola Lundqvist)

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

19 years agominor cosmetical cleanup
Enrico Scholz [Thu, 5 May 2005 09:20:37 +0000]
minor cosmetical cleanup

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

19 years ago- added support for '--help' and '--version'
Enrico Scholz [Thu, 5 May 2005 09:20:12 +0000]
- added support for '--help' and '--version'
- added '-a' option to append information instead of truncating the
  file

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

19 years ago- 'chroot-cat' supports now the '--help' and '--version' options so
Enrico Scholz [Thu, 5 May 2005 09:19:08 +0000]
- 'chroot-cat' supports now the '--help' and '--version' options so
  removed it from AM_INSTALLCHECK_STD_OPTIONS_EXEMPT
- added vwait

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

19 years agos!^# !## !
Enrico Scholz [Thu, 5 May 2005 09:17:41 +0000]
s!^# !## !

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

19 years agovc_wait_exit(): implemented support for this syscall
Enrico Scholz [Thu, 5 May 2005 09:17:25 +0000]
vc_wait_exit(): implemented support for this syscall

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

19 years agouse <syscall-wrap.h>
Enrico Scholz [Mon, 2 May 2005 21:44:06 +0000]
use <syscall-wrap.h>

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