Enrico Scholz [Sun, 22 Jan 2006 12:24:25 +0000]
changed the way how temporary files/directories will be created:
* mktemp will now be called with the '-t' parameter and sometimes with
'-p'
* absolutes paths (e.g. '/tmp') were removed from the templates
* with this changes, it is now possible to override the location of
the temporary files by setting $TMPDIR. This should add a way to
solve problems like debootstrap on non-executable tmp-directories
(http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15447)
These changes require that 'mktemp' understands the following switches:
* '-t' ... Generate a path rooted in a temporary directory.
* '-d' ... Make a directory instead of a file.
* '-p' ... Use the specified directory as a prefix when generating
the temporary filename.
Because 'mktemp' from Debian Woody's 'debianutils_1.16.2woody1'
supports these features every recent Linux distribution should do it
also.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2263
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 12:11:40 +0000]
- the 'dlimit' stuff uses now a /etc/vservers/*/cache symlink pointing
somewhere to /var/cache
- _setSingleDiskLimit(): use one $_VDU call instead of two
- give out a warning when dlimit/ stuff is configured but no cache
symlink is existing
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2262
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 12:09:39 +0000]
create the /etc/vservers/*/cache symlink
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2261
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 11:56:28 +0000]
rearranged some bits so that toplevel directory will be counted too
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2260
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 11:28:00 +0000]
link 'vdu' against 'libinternal.a'
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2259
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 11:27:22 +0000]
- rewrote the directory traversal code to use 'EsafeChdir()' and
friends
- allow to specify both '--inodes' and '--space'
- use 'isNumber()'
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2258
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 11:25:09 +0000]
apply new 'isNumber()' API
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2257
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 11:24:23 +0000]
added __PKGCACHEDIR
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2256
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 11:23:47 +0000]
enhanced the isNumber() method:
* now, it accepts units like 'm' or 'K'; 'isNumber()' needs now a
third parameter telling whether to interprete the number strictly or
whether to accept such units
* an 'isNumberUnsigned()' method was created for unsigned types; an
'util-isnumber.hc' template file was created for this purpose
* proper tests for over/underflow were implemented
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2255
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 11:19:47 +0000]
added isnumber.c testcase which checks the isNumber() and
isNumberUnsigned() methods
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2254
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 11:18:14 +0000]
added wrappers-stat.hc which implements wrappers for the *stat(2)
functions
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2253
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 21 Jan 2006 13:22:23 +0000]
applied savannah.nongnu.org/patch/?func=detailitem&item_id=4814
(Daniel Hokka Zakrisson):
This patch lets users configure disk limits in
/etc/vservers/<name>/dlimits/*/, and have them set on the start of the
vserver, as well as saved when stopping the vserver.
For counting the amount of inodes and space used by a certain vserver
on a filesystem, I modified the old and broken vdu program (vdu bin
etc would not find etc, for instance) and made it useful again.
The cache files will probably need some love, I'm a bit uncertain as
to where to put them (or rather, the symlink to their location).
This is the last piece of the disk limits puzzle. A variant of this
would be really nice to have in 0.30.210. (do you have an ETA on that,
btw?)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2252
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 18 Jan 2006 23:59:30 +0000]
NETTYPE_USER2KERNEL/NETTYPE_KERNEL2USER: handle IPv6 bcast case, too
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2251
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 18 Jan 2006 23:55:53 +0000]
adjusted the vc_net_nx_type enum so that the NETTYPE_USER2KERNEL() can
be optimized
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2250
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 18 Jan 2006 23:40:15 +0000]
applied vnet patch from Daniel Hokka Zakrisson
(http://savannah.nongnu.org/patch/?func=detailitem&item_id=4799)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2249
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 18 Jan 2006 23:37:39 +0000]
* vcFeatureSet: added vcFEATURE_VNET enum
* applied vnet patch from Daniel Hokka Zakrisson
(http://savannah.nongnu.org/patch/?func=detailitem&item_id=4799)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2248
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 18 Jan 2006 23:35:54 +0000]
added support for vcFEATURE_VNET feature
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2247
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 18 Jan 2006 23:34:36 +0000]
minor formation fixups
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2246
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 4 Jan 2006 17:28:42 +0000]
added 'hashcalc-plain' tests to track down broken beecrypt/vhashify on
some Debians
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2245
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 4 Jan 2006 13:29:33 +0000]
readded /proc/version; it is expected by several programs
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2244
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 4 Jan 2006 12:30:13 +0000]
added csope.out
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2243
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 4 Jan 2006 12:29:15 +0000]
vc_get_vhi_name_v13(): added comment near the strncpy(3) call which
tells that an explicit termination with '\0' is not wanted
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2242
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Wed, 4 Jan 2006 12:27:02 +0000]
ENSC_INIT_UNIX_SOCK(): be more effective in an strncpy(3) call and
avoid potential copying of an char which gets overridden later
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2241
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Tue, 3 Jan 2006 00:13:26 +0000]
parameterized '-j' flag
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2240
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Tue, 3 Jan 2006 00:11:51 +0000]
removed old kernel headers
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2239
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Mon, 2 Jan 2006 23:55:15 +0000]
hide /proc/cmdline and /proc/version because they can reveal information
about the host system
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2238
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Mon, 2 Jan 2006 23:51:44 +0000]
updated url
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2237
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Mon, 2 Jan 2006 23:50:21 +0000]
updated dates in the copyright notices
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2236
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Mon, 2 Jan 2006 23:48:56 +0000]
updated to 2.6.14.3-vs2.01 headers
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2235
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Mon, 2 Jan 2006 18:02:28 +0000]
s!/etc/slackware-release!/etc/slackware-version! (reported by bubulak)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2234
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 31 Dec 2005 10:58:18 +0000]
isDirectoryEmpty(): really ignore 'lost+found' by checking against the full
path (https://savannah.nongnu.org/patch/?func=detailitem&item_id=4714,
patched by XeRO)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2233
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 31 Dec 2005 10:54:31 +0000]
colpanic(): added missing 'error' keyword for the colorize call (issue
15281, reported and patched by Micah Anderson)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2232
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 31 Dec 2005 10:48:24 +0000]
added syscall numbers for hppa (263) and m32r (273)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2231
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 31 Dec 2005 10:41:26 +0000]
- mount some more filesystems internally instead of calling the
external 'mount' command
- fixed MS_NODEV handling
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2230
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 31 Dec 2005 10:39:24 +0000]
added 'novlandev' interface flag
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2229
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Mon, 31 Oct 2005 09:55:59 +0000]
made it work with yum 2.4.0
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2228
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 30 Oct 2005 16:43:57 +0000]
added 'installonlypkgs=/exactarch=0' entries
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2227
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 30 Oct 2005 16:43:24 +0000]
added 'ensc_fmt/lib_libvserver_a-%' to DIETPROGS; this fixes problems
e.g. with FC5's stack-protector
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2226
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 30 Oct 2005 10:17:39 +0000]
version 0.30.209
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2225
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 30 Oct 2005 10:01:41 +0000]
call 'vattribute' with '--flag default'
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2224
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 30 Oct 2005 10:01:05 +0000]
added 'default' and 'secure' pseudo flags; they are open for enhancements
but VC_VXF_VIRT_UPTIME seems to be the only flag for 'default' without
sideeffects
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2223
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 16:53:30 +0000]
added code to execute 'killall5 -15' in the halt script; this should
fix the minilogd issues with CentOS and older RH releases
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2222
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 16:52:30 +0000]
added 'vwait-test.sh'
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2221
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 16:51:26 +0000]
ok... try #3 of the new vwait stuff: it seems to be a good idea to
read files *after* they are filled with content...
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2220
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 15:35:43 +0000]
execute waitForSync everytime and not only when the shutdown succeeded
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2219
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 15:34:30 +0000]
fixed the TIMEOUT case in yet another way: now, start 'vkill' and a
killall command in the same backgrounded subshell. Parameter committal
between the different shell instances is a horror and just a question
of time until it breaks :(
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2218
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 15:28:27 +0000]
add newlines in the makefile generated for the 'stop' case; else, there
will be multiple target-dependency pairs on the same line [reported by
Daniel Kraft]
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2217
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 15:08:38 +0000]
- revert a previous vc_add_dlimit() when vc_set_dlimit() fails
- added some basic sanity checks for the parameters given on the CLI
[both reported by Kevin Pendleton;
https://savannah.nongnu.org/bugs/?func=detailitem&item_id=14026]
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2216
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 14:55:52 +0000]
- removed documentation about single flags; it was broken and outdated
- added link to http://linux-vserver.org/Scheduler+Parameters for the
scheduler params
[both https://savannah.nongnu.org/bugs/?func=detailitem&item_id=14331]
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2215
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 12:53:18 +0000]
- initWait(): call 'vwait' without --terminate; this is required to
give out a list of processes in _waitForVWait
- _waitForVWait(): when 'vwait' returns with 'TIMEOUT', give out the
list of current processes and kill the context manually
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2214
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 12:09:49 +0000]
fillName(): initialize 'obj->cfgstyle' to vcCFG_AUTO
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2213
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 12:09:09 +0000]
on non-debian machines (resp. those without debootstrap), generate
'$DEBOOTSTRAP_DIR/arch' with the current architecture [reported by
Nicolas Costes; http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14589]
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2212
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 12:07:40 +0000]
- verifyVserver(): implemented it
- added some sanity checks to make sure that the 'depends' files are
containing valid vserver names; the verifyVserver() function is used
by these checks
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2211
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 12:06:19 +0000]
vc_getVserverCtx(): allow vc_get_vx_info() to fail but check for
errno==ESRCH; for xid!=0, this syscall will return ENOSYS always
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2210
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 10:33:02 +0000]
added some stack checks
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2209
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 10:32:30 +0000]
do not include "linuxvirtual.h" anymore; it's not needed
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2208
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 10:31:42 +0000]
include "virtual.h" instead of "linuxvirtual.h"
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2207
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 09:26:23 +0000]
use our 'assert' from "lib_internal/coreassert.h"
use Vwrite() instead of write()
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2206
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 09:25:42 +0000]
cleanups; undefine macros after their use, set some UNUSED attributes
and 'return EXIT_SUCCESS' in main to make the testsuite happy (where
main() is not main())
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2205
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 09:04:34 +0000]
start the vserver with the '--rescue' option and execute operations
like 'chkconfig' there
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2204
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 08:51:30 +0000]
mentioned Herbert and his alternative syscall implementation
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2203
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sat, 29 Oct 2005 08:46:59 +0000]
when giving a directory and other filesystem objects on the CLI, the
fstool based applications (showattr, setattr, chxid) changed into this
directory without going back. So the other objects can not be found
anymore (resp. the wrong ones) [reported and patched by Daniel Hokka
Zakrisson; http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14313]
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2202
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 18:41:32 +0000]
use new syntax for '--rescue-cmd'
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2201
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 18:40:56 +0000]
use new getDistribution API
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2200
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 18:40:39 +0000]
when building new vservers allow empty directories for their roots
improved error messages a little bit
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2199
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 18:29:00 +0000]
updated help msg for '--rescue'
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2198
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 17:59:37 +0000]
colorize/colpanic(): reset attributes after giving out the message
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2197
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 17:53:49 +0000]
added centos42 support
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2196
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 17:52:19 +0000]
updated debootstrap url
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2195
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 17:51:48 +0000]
do not define ENSC_SYSCALL_TRADITIONAL when alternative syscalls are available
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2194
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 17:51:09 +0000]
use VCMD_ctx_create_v0 instead of VCMD_ctx_create
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2193
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 17:50:38 +0000]
include "internal.h"
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2192
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 17:49:52 +0000]
updated to 2.6.13.3-vs2.1.0-rc4 headers
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2191
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 16:38:40 +0000]
updated to vserver.13thfloor.at/Experimental/SYSCALL/syscall_shiny7.h
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2190
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 16:09:27 +0000]
added syscall-fallback.h
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2189
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 16:03:28 +0000]
do not use multiline sed expressions anymore; instead of, assign and
use a Makefile variable
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2188
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 16:01:19 +0000]
- do not use the local kernelheaders anymore; this causes problems on
cross-compiling
- use a fallback headerfile to determine syscall #
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2187
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Fri, 28 Oct 2005 16:00:10 +0000]
do not use the local kernelheaders anymore; this causes problems on
cross-compiling
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2186
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Tue, 25 Oct 2005 16:23:45 +0000]
improved tests by validating that buffer gets not modified before or
after the indented space
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2185
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Tue, 25 Oct 2005 16:22:33 +0000]
getCtxFromFile(): fixed resource leaks in errorcase
vc_getVserverCtx(): validate result by calling getvserverbyctx()
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2184
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Tue, 25 Oct 2005 16:21:08 +0000]
vc_getVserverByCtx_Internal(): added prototype (with 'validate_result'
parameter)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2183
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Tue, 25 Oct 2005 16:20:07 +0000]
vc_getVserverByCtx_*(): added 'validate_result' parameter to avoid
recursion when called by getvserverctx()
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2182
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Tue, 25 Oct 2005 16:18:03 +0000]
added vc_compareVserverById()
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2181
94cd875c-1c1d-0410-91d2-
eb244daf1a30
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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