util-vserver.git
19 years agoadded tests for Vector_searchSelfOrg()
Enrico Scholz [Thu, 17 Mar 2005 14:49:01 +0000]
added tests for Vector_searchSelfOrg()

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

19 years agoadded test2
Enrico Scholz [Thu, 17 Mar 2005 14:48:25 +0000]
added test2

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

19 years agoVector_searchSelfOrg*(): added
Enrico Scholz [Thu, 17 Mar 2005 14:47:53 +0000]
Vector_searchSelfOrg*(): added

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

19 years agoadded list-* files
Enrico Scholz [Thu, 17 Mar 2005 14:47:07 +0000]
added list-* files
added vector-searchselforg.c

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

19 years agofixed declaration of the *_x*int() methods; they do not take a 'base' argument
Enrico Scholz [Thu, 17 Mar 2005 14:46:19 +0000]
fixed declaration of the *_x*int() methods; they do not take a 'base' argument

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

19 years agoadded XIDTYPE support
Enrico Scholz [Wed, 9 Mar 2005 14:53:12 +0000]
added XIDTYPE support

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

19 years agouse EopenD() instead of Eopen()
Enrico Scholz [Wed, 9 Mar 2005 14:43:07 +0000]
use EopenD() instead of Eopen()

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

19 years agofixed typo
Enrico Scholz [Wed, 9 Mar 2005 14:42:39 +0000]
fixed typo

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

19 years agovc_getXIDType(): added
Enrico Scholz [Wed, 9 Mar 2005 14:39:38 +0000]
vc_getXIDType(): added

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

19 years agoadded some magic to avoid warnings with gcc4
Enrico Scholz [Wed, 9 Mar 2005 14:39:23 +0000]
added some magic to avoid warnings with gcc4

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

19 years agoadded getxidtype.c
Enrico Scholz [Wed, 9 Mar 2005 14:38:51 +0000]
added getxidtype.c

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

19 years agocreate /usr/X11 also
Enrico Scholz [Wed, 9 Mar 2005 14:37:58 +0000]
create /usr/X11 also

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

19 years agoadded apt support for FC3
Enrico Scholz [Wed, 9 Mar 2005 14:37:39 +0000]
added apt support for FC3

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

19 years agouse CALL_VC_V13B instead of CALL_VC_V13
Enrico Scholz [Wed, 2 Mar 2005 01:29:44 +0000]
use CALL_VC_V13B instead of CALL_VC_V13

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

19 years agoallow '--all' param
Enrico Scholz [Wed, 2 Mar 2005 01:24:44 +0000]
allow '--all' param

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

19 years agoavoid some compiler warnings
Enrico Scholz [Wed, 2 Mar 2005 01:24:25 +0000]
avoid some compiler warnings

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

19 years agoadded some VC_ATTR_NONNULL() statements
Enrico Scholz [Wed, 2 Mar 2005 01:23:58 +0000]
added some VC_ATTR_NONNULL() statements

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

19 years agominor cleanups
Enrico Scholz [Wed, 2 Mar 2005 01:23:38 +0000]
minor cleanups

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

19 years agodo not assume 'nodev' on 'devpts'
Enrico Scholz [Wed, 2 Mar 2005 00:54:41 +0000]
do not assume 'nodev' on 'devpts'

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

19 years agoCDLIM_USER2KERNEL/CDLIM_KERNEL2USER(): added
Enrico Scholz [Wed, 2 Mar 2005 00:54:04 +0000]
CDLIM_USER2KERNEL/CDLIM_KERNEL2USER(): added

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

19 years agoadded *vdlimit functions + tools (patch provided by Daniel Hokka Zakrisson)
Enrico Scholz [Wed, 2 Mar 2005 00:52:44 +0000]
added *vdlimit functions + tools (patch provided by Daniel Hokka Zakrisson)

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

19 years agoadded some sanity checks
Enrico Scholz [Fri, 25 Feb 2005 23:32:02 +0000]
added some sanity checks

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

19 years agoadded wrapper around string functions
Enrico Scholz [Fri, 25 Feb 2005 23:31:19 +0000]
added wrapper around string functions

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

19 years ago/me should learn to differ between script-languages and C... strings in C are still...
Enrico Scholz [Fri, 25 Feb 2005 23:30:35 +0000]
/me should learn to differ between script-languages and C... strings in C are still marked by >"< but not by >'<...
fixed allocation of the newly generated option string

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

19 years agodeprecate usage of $_YUM and $_APT_GET
Enrico Scholz [Fri, 25 Feb 2005 21:51:02 +0000]
deprecate usage of $_YUM and $_APT_GET

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

19 years agoLEGACY BREAKAGE FOR 3RD PARTY PATCHES: introduced a more common naming
Enrico Scholz [Fri, 25 Feb 2005 21:37:36 +0000]
LEGACY BREAKAGE FOR 3RD PARTY PATCHES: introduced a more common naming
scheme: global, immutable variables names are now named like '$__ABC'
instead of '$ABC'. This happens at much places and will break a lot of
patches therefore.

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

19 years agochanged my GPG key
Enrico Scholz [Fri, 25 Feb 2005 21:33:40 +0000]
changed my GPG key

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

19 years agoassume 'nodev' by default
Enrico Scholz [Fri, 25 Feb 2005 21:33:11 +0000]
assume 'nodev' by default

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

19 years agoadded preliminary support for the patch from
Enrico Scholz [Fri, 25 Feb 2005 20:55:10 +0000]
added preliminary support for the patch from
https://bugzilla.redhat.com/beta/attachment.cgi?id=111435&action=view

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

19 years agoavoid ambiguous usage of $PKGDIR, use $PKGINSTALLDIR instead of
Enrico Scholz [Fri, 25 Feb 2005 20:52:08 +0000]
avoid ambiguous usage of $PKGDIR, use $PKGINSTALLDIR instead of
use $SETUP_CONFDIR instead of $confdir

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

19 years agoavoid ambiguous usage of $PKGDIR, use $PKGINSTALLDIR instead of
Enrico Scholz [Fri, 25 Feb 2005 20:51:33 +0000]
avoid ambiguous usage of $PKGDIR, use $PKGINSTALLDIR instead of

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

19 years agorpm.initFilesystem(): fixed variable-names; this caused e.g. an unset %_dbpath macro...
Enrico Scholz [Sun, 20 Feb 2005 23:21:28 +0000]
rpm.initFilesystem(): fixed variable-names; this caused e.g. an unset %_dbpath macro formerly

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

19 years agoversion 0.30.204
Enrico Scholz [Tue, 15 Feb 2005 23:13:58 +0000]
version 0.30.204

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

19 years agoadded information where the 'ip' and 'vconfig' programs can be found
Enrico Scholz [Tue, 15 Feb 2005 22:24:52 +0000]
added information where the 'ip' and 'vconfig' programs can be found

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

19 years agoadjusted the order of cli options evaluation; automake-1.9.5 redirects
Enrico Scholz [Tue, 15 Feb 2005 22:18:53 +0000]
adjusted the order of cli options evaluation; automake-1.9.5 redirects
input from /dev/null so the 'tty -s' check gets triggered and 'make
distcheck' fails in the '... --version/--help' tests

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

19 years agofixed name of the run.rev symlink; there was a '/' missing which
Enrico Scholz [Tue, 15 Feb 2005 18:04:11 +0000]
fixed name of the run.rev symlink; there was a '/' missing which
caused a pollution of the /etc/vservers/.defaults directory with
'run.revXXX' entries. (reported and analyzed by Olivier Poitrey).

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

19 years agofixed typos
Enrico Scholz [Mon, 7 Feb 2005 18:02:06 +0000]
fixed typos

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

19 years agodocumented the *namespace options
Enrico Scholz [Mon, 7 Feb 2005 18:01:48 +0000]
documented the *namespace options

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

19 years agoSECURITY: fixed detection of the mtab-location (Georg Glas)
Enrico Scholz [Fri, 4 Feb 2005 12:18:39 +0000]
SECURITY: fixed detection of the mtab-location (Georg Glas)
https://savannah.nongnu.org/bugs/?func=detailitem&item_id=11844

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

19 years agofixed one of the previously added 'test -n'
Enrico Scholz [Fri, 4 Feb 2005 02:55:33 +0000]
fixed one of the previously added 'test -n'

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

19 years agoENSC_PATHPROG_INIT(): fixed doc
Enrico Scholz [Wed, 2 Feb 2005 14:09:28 +0000]
ENSC_PATHPROG_INIT(): fixed doc
ENSC_PATHPROG(): added a '<DESCR>' parameter

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

19 years agoapplied http://vserver.lauft.net/wegen/util-vserver/patches/merge/util-vserver--merge...
Enrico Scholz [Wed, 2 Feb 2005 13:42:52 +0000]
applied vserver.lauft.net/wegen/util-vserver/patches/merge/util-vserver--merge--0.0--patch-2.patch

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

19 years agoversion 0.30.203
Enrico Scholz [Tue, 1 Feb 2005 17:28:47 +0000]
version 0.30.203

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

19 years agoadded vyum-worker to AM_INSTALLCHECK_STD_OPTIONS_EXEMPT
Enrico Scholz [Tue, 1 Feb 2005 17:23:29 +0000]
added vyum-worker to AM_INSTALLCHECK_STD_OPTIONS_EXEMPT

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

19 years agominor cosmetical change
Enrico Scholz [Tue, 1 Feb 2005 17:23:06 +0000]
minor cosmetical change

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

19 years agofixed 'local VAR=$(ACTION) || ERROR' constructs; the 'local VAR=$(ACTION)'
Enrico Scholz [Tue, 1 Feb 2005 17:22:53 +0000]
fixed 'local VAR=$(ACTION) || ERROR' constructs; the 'local VAR=$(ACTION)'
succeeds everytime so ERROR will be never executed. So, it is rewritten to
'local VAR; VAR=$(ACTION) || ERROR'.

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

19 years agoversion 0.30.202
Enrico Scholz [Tue, 1 Feb 2005 17:02:36 +0000]
version 0.30.202

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

19 years agoinitial checkin
Enrico Scholz [Tue, 1 Feb 2005 16:57:23 +0000]
initial checkin

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

19 years agomoved installPackages into vserver-build.functions.rpm
Enrico Scholz [Tue, 1 Feb 2005 16:56:17 +0000]
moved installPackages into vserver-build.functions.rpm
added support for preconfigured package-lists

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

19 years agorpmlist.*(): added
Enrico Scholz [Tue, 1 Feb 2005 16:55:40 +0000]
rpmlist.*(): added

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

19 years agodocumented the '--empty' switch for the '-m rpm' method
Enrico Scholz [Tue, 1 Feb 2005 16:55:19 +0000]
documented the '--empty' switch for the '-m rpm' method
allow an increasing debug-level

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

19 years agovshelper.isDebug(): fixed it...
Enrico Scholz [Tue, 1 Feb 2005 16:54:33 +0000]
vshelper.isDebug(): fixed it...

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

19 years agoadded the fc3 rpmlist.d directory + content
Enrico Scholz [Tue, 1 Feb 2005 16:53:27 +0000]
added the fc3 rpmlist.d directory + content

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

19 years agoadded vserver-build.rpm
Enrico Scholz [Tue, 1 Feb 2005 16:53:04 +0000]
added vserver-build.rpm

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

19 years agochanged matchlist-API to pass additional information about a
Enrico Scholz [Tue, 1 Feb 2005 02:08:20 +0000]
changed matchlist-API to pass additional information about a
vserver. This allows to turn off pkgmgmt-queries for not-yet
existent vservers in 'vcopy'

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

19 years agostruct MatchVserverInfo: added; it allows to pass additional information about the...
Enrico Scholz [Tue, 1 Feb 2005 02:06:46 +0000]
struct MatchVserverInfo: added; it allows to pass additional information about the vserver

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

19 years agocopyReg(): open out_fd with O_RDWR, fixed resource leak in error-case
Enrico Scholz [Tue, 1 Feb 2005 02:06:06 +0000]
copyReg(): open out_fd with O_RDWR, fixed resource leak in error-case

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

19 years agoargl... fixed overflow when appending the '/'
Enrico Scholz [Tue, 1 Feb 2005 00:55:51 +0000]
argl... fixed overflow when appending the '/'

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

19 years agoadded 'debug' option for vshelper
Enrico Scholz [Mon, 31 Jan 2005 23:06:55 +0000]
added 'debug' option for vshelper

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

19 years agoadded delegation support (Herbert Poetzl)
Enrico Scholz [Mon, 31 Jan 2005 23:04:00 +0000]
added delegation support (Herbert Poetzl)
http://vserver.13thfloor.at/Experimental/NGNET/delta-vshelper-delegate.diff

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

19 years agogetDistribution(): added support for a default distribution
Enrico Scholz [Mon, 31 Jan 2005 22:47:42 +0000]
getDistribution(): added support for a default distribution

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

19 years agoadded the '-m rpm' method
Enrico Scholz [Mon, 31 Jan 2005 22:45:42 +0000]
added the '-m rpm' method

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

19 years agoadded the 'template' distribution
Enrico Scholz [Mon, 31 Jan 2005 22:45:02 +0000]
added the 'template' distribution

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

19 years agofixed environment unsetting: it will be now done shortly before execve(2)
Enrico Scholz [Mon, 31 Jan 2005 17:48:07 +0000]
fixed environment unsetting: it will be now done shortly before execve(2)
but not on initialization anymore. This solves the problem when 'rpm' is
a wrapper only calling the real 'rpm?'. Then, LD_PRELOAD et.al. was unset
and the wrapper not used.

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

19 years agofixed the (currently non-existent) child->parent traversal
Enrico Scholz [Mon, 31 Jan 2005 17:45:56 +0000]
fixed the (currently non-existent) child->parent traversal

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

19 years agoadded DOT_TRANSPARENT + DOT_MULTI_TARGET
Enrico Scholz [Mon, 31 Jan 2005 17:44:42 +0000]
added DOT_TRANSPARENT + DOT_MULTI_TARGET

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

19 years agoupdated
Enrico Scholz [Mon, 31 Jan 2005 17:44:02 +0000]
updated

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

19 years agoremoved 'run.rev' as a vserver-local variable and made it a system-wide setting
Enrico Scholz [Mon, 31 Jan 2005 17:43:31 +0000]
removed 'run.rev' as a vserver-local variable and made it a system-wide setting

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

19 years agoreindented it
Enrico Scholz [Fri, 28 Jan 2005 01:21:23 +0000]
reindented it
fixed vshelper documentation

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

19 years agouse 'test -n "..."' instead of 'test "..."'; when "..." expands to '-v'
Enrico Scholz [Thu, 27 Jan 2005 21:24:44 +0000]
use 'test -n "..."' instead of 'test "..."'; when "..." expands to '-v'
or a similar string, the expression will be misinterpreted (noticed by
Werner Schalk)

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

19 years agoversion 0.30.201
Enrico Scholz [Thu, 27 Jan 2005 20:53:23 +0000]
version 0.30.201

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

19 years agoreworked the capability.h stuff
Enrico Scholz [Thu, 27 Jan 2005 20:38:35 +0000]
reworked the capability.h stuff

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

19 years agoadded capability-compat.h
Enrico Scholz [Thu, 27 Jan 2005 20:38:12 +0000]
added capability-compat.h

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

19 years agoadded check for <sys/capability.h> header
Enrico Scholz [Thu, 27 Jan 2005 20:37:40 +0000]
added check for <sys/capability.h> header

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

19 years agoremoved the linuxcaps.h bits
Enrico Scholz [Thu, 27 Jan 2005 20:37:11 +0000]
removed the linuxcaps.h bits

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

19 years agoimplemented capability-support check
Enrico Scholz [Thu, 27 Jan 2005 19:17:12 +0000]
implemented capability-support check

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

19 years agofixed execution order of chroot(2) and context-creation; this caused
Enrico Scholz [Thu, 27 Jan 2005 19:16:54 +0000]
fixed execution order of chroot(2) and context-creation; this caused
errors on kernel 2.6 when the vserver is not running yet

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

19 years agoadded check-unixfile
Enrico Scholz [Thu, 27 Jan 2005 19:15:41 +0000]
added check-unixfile

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

19 years agoexecute sanityCheck()
Enrico Scholz [Thu, 27 Jan 2005 19:15:17 +0000]
execute sanityCheck()

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

19 years agomoved sanity checks which were spread in various functions into the sanityCheck(...
Enrico Scholz [Thu, 27 Jan 2005 19:15:04 +0000]
moved sanity checks which were spread in various functions into the sanityCheck() method
implemented checks for non-newline terminated files and missing capability support

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

19 years agoinitial checkin
Enrico Scholz [Thu, 27 Jan 2005 19:13:04 +0000]
initial checkin

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

19 years agoadded 'yum' support
Enrico Scholz [Thu, 27 Jan 2005 19:11:29 +0000]
added 'yum' support

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

19 years agoreorganized; moved lots of code into the 'functions' file
Enrico Scholz [Thu, 27 Jan 2005 19:11:15 +0000]
reorganized; moved lots of code into the 'functions' file

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

19 years agoadded yum* files + vsomething + check-unixfile
Enrico Scholz [Thu, 27 Jan 2005 19:10:53 +0000]
added yum* files + vsomething + check-unixfile

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

19 years agoadded yum* support
Enrico Scholz [Thu, 27 Jan 2005 19:10:30 +0000]
added yum* support
reorganized the rpmFake stuff

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

19 years agoadded the yum* files + vsomething
Enrico Scholz [Thu, 27 Jan 2005 19:09:54 +0000]
added the yum* files + vsomething

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

19 years agoadded missing newline
Enrico Scholz [Thu, 27 Jan 2005 19:09:29 +0000]
added missing newline

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

19 years agoadded the yum* stuff for fc3
Enrico Scholz [Thu, 27 Jan 2005 19:08:11 +0000]
added the yum* stuff for fc3

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

19 years agoadded the yum* files + check-unixfile
Enrico Scholz [Thu, 27 Jan 2005 19:07:36 +0000]
added the yum* files + check-unixfile

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

19 years agomentioned the '-m yum' buildmethod
Enrico Scholz [Thu, 27 Jan 2005 19:07:05 +0000]
mentioned the '-m yum' buildmethod

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

19 years agoallow dangling symlinks as /etc/vservers/.../vdir also
Enrico Scholz [Wed, 26 Jan 2005 23:29:06 +0000]
allow dangling symlinks as /etc/vservers/.../vdir also

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

19 years agoversion 0.30.199
Enrico Scholz [Wed, 26 Jan 2005 23:27:45 +0000]
version 0.30.199

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

19 years agodo not ship the /vservers directory itself; as it is immutable, the
Enrico Scholz [Wed, 26 Jan 2005 21:15:36 +0000]
do not ship the /vservers directory itself; as it is immutable, the
extraction will fail else

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

19 years agoupdated
Enrico Scholz [Wed, 26 Jan 2005 20:44:42 +0000]
updated

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

19 years agorearranged some scriptlets to avoid comments after '-p /sbin/ldconfig'
Enrico Scholz [Wed, 26 Jan 2005 20:09:29 +0000]
rearranged some scriptlets to avoid comments after '-p /sbin/ldconfig'

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

19 years agoadded (untested) support for '/' in the vserver fstab
Enrico Scholz [Wed, 26 Jan 2005 15:35:20 +0000]
added (untested) support for '/' in the vserver fstab

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

19 years agouse unique prefixes for variables used in functions with 'eval' statements
Enrico Scholz [Wed, 26 Jan 2005 15:34:40 +0000]
use unique prefixes for variables used in functions with 'eval' statements
mountRootFS(): added

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

19 years agouse unique prefixes for variables used in functions with 'eval' statements
Enrico Scholz [Wed, 26 Jan 2005 15:34:18 +0000]
use unique prefixes for variables used in functions with 'eval' statements

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

19 years agoinclude <string.h> + <ctype.h>
Enrico Scholz [Wed, 26 Jan 2005 15:32:35 +0000]
include <string.h> + <ctype.h>

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

19 years agomoved rootshell to legacy
Enrico Scholz [Wed, 26 Jan 2005 15:31:43 +0000]
moved rootshell to legacy

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