Benedikt Boehm [Fri, 15 Sep 2006 08:31:53 +0000]
cleanup old cvs cruft; add mkrelease script; use svn2cl instead of cvs2cl
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2313
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Fri, 15 Sep 2006 04:32:28 +0000]
Make vshelper reboot/halt work correctly when CONFIG_VSERVER_LEGACY is disabled and the helper is run synchronously.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2312
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Wed, 13 Sep 2006 22:18:55 +0000]
Fix RPM-based builds on RHEL/CentOS 4.4.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2311
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 18:35:57 +0000]
Add initial environment support. Lets users work around their broken
initscripts inside guests when using the sysv initstyle.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2310
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 17:19:50 +0000]
Add ugly hack to workaround yum's problems with file:////.
(https://savannah.nongnu.org/bugs/?15517)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2309
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 17:17:03 +0000]
Add Herbert Pötzl's patch to support initialization scriptlets.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2308
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 17:09:08 +0000]
- Teach vcontext about usernames (if dietlibc is used).
- Teach capchroot about uid 0.
- Add Einitgroups.
- Specify uid 0 by default, so username lookups are avoided.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2307
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 16:55:42 +0000]
Add vlogin, a terminal proxy for vserver ... enter.
(https://savannah.nongnu.org/patch/?4969)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2306
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 16:54:03 +0000]
Add forgotten svn:keywords.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2305
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 16:33:59 +0000]
Add support for vserver-build -m template, which extracts tarballs.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2304
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 12:39:00 +0000]
Make vrpm and vapt-get use vsomething.
Fix external package management so that the process is executed in
the guest's network context, in case scriptlets restart daemons.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2303
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 12:29:52 +0000]
Add a delete method to remove guests, based on Thomas Champagne's
patch.
(https://savannah.nongnu.org/patch/?4899)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2302
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 12:21:19 +0000]
Apply Bastian Blank's userspace namespace cleanup patch.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2301
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 12:16:53 +0000]
Apply Jan Rekorajski's CPUSET patch.
(http://www.paul.sladen.org/vserver/archives/200511/0245.html)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2300
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 11:29:02 +0000]
Add support for Fedora Core 5 and yum 2.6.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2299
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 11:21:38 +0000]
Add support for specifying a debootstrap script.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2298
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 11:14:56 +0000]
Update to the latest version of Herbert's alternative syscall
implementation.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2297
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 11:11:39 +0000]
Fix sys_clone usage on sparc and s390, sparc returns parent pid in
the child and s390 has the arguments reversed.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2296
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 11:09:15 +0000]
- Fix obsolete nice usage.
- Make sure the correct nice value is used, even if the parent
process has a different one.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2295
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 11:04:41 +0000]
Fix API option parsing so oldproc and olduts are valid options
(allowing for cut'n'paste from vserver-info to ./configure)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2294
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 10:54:08 +0000]
Fixes start-vservers to work on _all_ guests when --all is specified,
as well as fixing the cleanup.
(https://savannah.nongnu.org/bugs/index.php?14525)
(https://savannah.nongnu.org/bugs/index.php?15632)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2293
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 10:50:36 +0000]
Apply Christian Heim's patch to deprecate the Gentoo initstyle
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2292
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 10:47:38 +0000]
Make fstab usage consistent, fstab gets mounted first, then
fstab.local and then fstab.remote, unmounting in the reverse order.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2291
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 10:39:13 +0000]
Fix condrestart to actually do a conditional restart
(https://savannah.nongnu.org/bugs/index.php?15678)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2290
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 10:34:15 +0000]
Fix Usage: message for the main script.
(https://savannah.nongnu.org/bugs/index.php?15551)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2289
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 10:32:43 +0000]
Use $_SETATTR instead of chattr to remove the barrier.
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2288
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 10:30:14 +0000]
Fix chcontext so it passes --secure as the first argument to
vattribute so it doesn't override the passed caps.
(https://savannah.nongnu.org/patch/?4993)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2287
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 10:26:39 +0000]
Fix vc_set_ccaps to work the way the kernel expects it to
(https://savannah.nongnu.org/patch/?4968)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2286
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Daniel Hokka Zakrisson [Tue, 12 Sep 2006 10:22:40 +0000]
Apply Micah Anderson's patch fixing chcontext's man page section
(https://savannah.nongnu.org/bugs/index.php?16083)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2285
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Benedikt Boehm [Sun, 10 Sep 2006 17:26:05 +0000]
remove util-vserver dir
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2284
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Benedikt Boehm [Sun, 10 Sep 2006 17:07:57 +0000]
skip duplicate util-vserver dir
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2283
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 26 Mar 2006 11:27:21 +0000]
added yum-2.6.0-chroot.patch
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2282
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 19:32:59 +0000]
version 0.30.210
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2280
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 19:31:53 +0000]
use stdout instead of stderr for the no-compat API warnings on '--help';
else, 'make distcheck' will fail
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2279
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 19:20:29 +0000]
updated
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2278
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 18:24:59 +0000]
added testcases for the '--enable-apis=NOLEGACY' configure switch
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2277
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 18:24:22 +0000]
added dietlibc + glibc versions of the isnumber and sigbus tests
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2276
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 18:22:48 +0000]
- declare the VC_ENABLE_API_* macros through AH_TEMPLATE()
- provide only the v13,net APIs by default
- added support for v13obs API
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2275
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 18:20:24 +0000]
do not provide Evc_new_s_context() wrapper without the required API
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2274
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 18:19:33 +0000]
use the new VC_ENABLE_API_V13OBS define
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2273
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 18:19:06 +0000]
added linktime warning for vc_set_ipv4root()
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2272
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 18:18:28 +0000]
split vc_set_sched_v13obs() into an own file
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2271
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 18:17:24 +0000]
fixed compilation for disabled compat/legacy API
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2270
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 18:15:21 +0000]
added some workarounds so that it build without compat/legacy API
resp. give out warnings explaining the situation
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2269
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 13:37:25 +0000]
added support for $(pkgcachedir)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2268
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 13:36:43 +0000]
- documented /etc/vservers/.defaults/cachebase + /etc/vservers/.../cache
- documented default value of /etc/vservers/.../vdir
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2267
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 13:12:15 +0000]
- do not require 'xalan' anymore by default
- removed 'Requires: apt'; apt-rpm is not maintained upstream anymore
- removed 'chattr' leftovers
- create the '/etc/vservers/.defaults/cachebase' symlink
- added /var/cache/vservers and the needed support
- set barrier attribute on /vservers/.pkg and /vservers/.hash
- added 'centos-release' to the list of packages in the copy-the-keys
trigger script
- create '/vservers/.hash' and add initial configuration for it
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2266
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 13:04:40 +0000]
- fixed ngnet -> non-legacy network confusion
- mentioned improved dlimit support
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2265
94cd875c-1c1d-0410-91d2-
eb244daf1a30
Enrico Scholz [Sun, 22 Jan 2006 12:36:07 +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.
- allow to override path of the debootstrap binary with the $DEBOOTSTRAP
environment variable
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2264
94cd875c-1c1d-0410-91d2-
eb244daf1a30
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