util-vserver.git
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

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

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

19 years agoadded '--rootfs' option
Enrico Scholz [Wed, 26 Jan 2005 15:29:40 +0000]
added '--rootfs' option

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

19 years agomoved the v_* initscripts to legacy
Enrico Scholz [Wed, 26 Jan 2005 15:28:40 +0000]
moved the v_* initscripts to legacy

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

19 years agoupdated BuildRequires:
Enrico Scholz [Wed, 26 Jan 2005 14:23:50 +0000]
updated BuildRequires:
use 'setattr --barrier' instead of 'chattr +t' in the %post scriptlet
moved the v_* initscripts to legacy

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

19 years agomoved rootshell script to legacy
Enrico Scholz [Tue, 25 Jan 2005 16:01:42 +0000]
moved rootshell script to legacy

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

19 years agofixed http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11570:
Enrico Scholz [Fri, 21 Jan 2005 13:51:04 +0000]
fixed savannah.nongnu.org/bugs/?func=detailitem&item_id=11570:

  "vserver myvserver start" gives exit code 1 if there is no file
  /etc/vservers/myvserver.sh, since the last statement in vserver
  ("test -x /etc/vservers/$1.sh && ...") evaluates to 1 in this case.

  [Daniel Hermann]

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

19 years agobe more verbosely when vserver could not be determined and give hints
Enrico Scholz [Fri, 21 Jan 2005 13:44:03 +0000]
be more verbosely when vserver could not be determined and give hints
about possible solutions (based upon ideas by Thorsten Gunkel)

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

19 years agointerface-configuration: give out a warning when no device was configured
Enrico Scholz [Fri, 21 Jan 2005 13:42:01 +0000]
interface-configuration: give out a warning when no device was configured

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

19 years ago* interface-configuration: accept 'nodev' without a configured 'dev';
Enrico Scholz [Fri, 21 Jan 2005 13:41:24 +0000]
* interface-configuration: accept 'nodev' without a configured 'dev';
  formerly the interface was silently ignored when 'dev' was missing
* added some sanity checks for the behaviour described above

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

19 years agoadded rpm_execcon() wrapper to make it work in SELinux environments
Enrico Scholz [Fri, 21 Jan 2005 13:38:33 +0000]
added rpm_execcon() wrapper to make it work in SELinux environments
call execve(2) directly instead of execv(3)

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

19 years agofixed typos
Enrico Scholz [Fri, 7 Jan 2005 17:40:15 +0000]
fixed typos
cleanups + enhancements

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

19 years ago"Notes for distributors" + "Which version shall I use?" added
Enrico Scholz [Fri, 7 Jan 2005 16:44:50 +0000]
"Notes for distributors" + "Which version shall I use?" added

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

19 years agoFixed last patch: use '[[' instead of '[' (found by Hans Ulrich Niedermann)
Enrico Scholz [Fri, 7 Jan 2005 16:41:23 +0000]
Fixed last patch: use '[[' instead of '[' (found by Hans Ulrich Niedermann)

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

19 years agocall ENSC_DIETLIBC_SANITYCHECK, AC_CANONICAL_HOST + AC_CANONICAL_BUILD
Enrico Scholz [Thu, 6 Jan 2005 23:59:02 +0000]
call ENSC_DIETLIBC_SANITYCHECK, AC_CANONICAL_HOST + AC_CANONICAL_BUILD

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

19 years agoENSC_DIETLIBC_SANITYCHECK(): added
Enrico Scholz [Thu, 6 Jan 2005 23:53:57 +0000]
ENSC_DIETLIBC_SANITYCHECK(): added
made ENSC_VERSION_DIETLIBC uppercase
ignore extra specifiers in dietlibc's minor version (reported by Hans Ulrich Niedermann)

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

19 years agofix typo in $_MKTEMPDIR: Use $_MKTEMP not $MKTEMP (fixed by Hans Ulrich Niedermann)
Enrico Scholz [Thu, 6 Jan 2005 23:26:59 +0000]
fix typo in $_MKTEMPDIR: Use $_MKTEMP not $MKTEMP (fixed by Hans Ulrich Niedermann)

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

19 years agouse $_<prog> (which expands to absolute paths) instead of trusting into a good $PATH
Enrico Scholz [Tue, 28 Dec 2004 19:07:48 +0000]
use $_<prog> (which expands to absolute paths) instead of trusting into a good $PATH
a small VLAN fix (do not quote the splitted dev)
minor cleanups

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

19 years agouse $_<prog> (which expands to absolute paths) instead of trusting into a good $PATH
Enrico Scholz [Tue, 28 Dec 2004 19:07:48 +0000]
use $_<prog> (which expands to absolute paths) instead of trusting into a good $PATH

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

19 years agouse ENSC_PATHPROG & friends
Enrico Scholz [Tue, 28 Dec 2004 19:04:05 +0000]
use ENSC_PATHPROG & friends

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

19 years agoinitial checkin
Enrico Scholz [Tue, 28 Dec 2004 19:03:40 +0000]
initial checkin

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

19 years agouse ${ENSC_PATHPROG_SED} when substituting prognames
Enrico Scholz [Tue, 28 Dec 2004 19:02:58 +0000]
use ${ENSC_PATHPROG_SED} when substituting prognames

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

19 years agocheck more syscall variants
Enrico Scholz [Tue, 28 Dec 2004 12:00:42 +0000]
check more syscall variants

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

19 years agos!\params!\param!
Enrico Scholz [Tue, 28 Dec 2004 12:00:05 +0000]
s!\params!\param!
added doc about vc_get_iattr()

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

19 years agoremoved since obsoleted by configuration.xml
Enrico Scholz [Tue, 28 Dec 2004 11:58:58 +0000]
removed since obsoleted by configuration.xml

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

19 years agofixed segfault when no arguments are given (reported by Adrian Reyer)
Enrico Scholz [Tue, 21 Dec 2004 07:19:20 +0000]
fixed segfault when no arguments are given (reported by Adrian Reyer)

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

19 years agorenamed the 'fd_set' variable to 'fdset'. former name causes problems
Enrico Scholz [Thu, 16 Dec 2004 00:11:01 +0000]
renamed the 'fd_set' variable to 'fdset'. former name causes problems
with certain FD_* implementations (reported by Adrian Reyer)

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

19 years agoadded fc-3 host
Enrico Scholz [Thu, 9 Dec 2004 13:07:14 +0000]
added fc-3 host

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

19 years agogetfilecontext.c: added
Enrico Scholz [Thu, 9 Dec 2004 13:06:08 +0000]
getfilecontext.c: added

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

19 years agovc_getfilecontext(): as noticed by daniel_hozac in IRC, this function
Enrico Scholz [Thu, 9 Dec 2004 13:05:41 +0000]
vc_getfilecontext(): as noticed by daniel_hozac in IRC, this function
was horribly broken. Fixed and moved it into an own file as it is too
complex for an inline function. Documentation was added also.

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

19 years agoinclude <unistd.h>
Enrico Scholz [Tue, 7 Dec 2004 11:15:17 +0000]
include <unistd.h>

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

19 years agoread enter-shell from the defaults-directory also
Enrico Scholz [Tue, 7 Dec 2004 11:14:56 +0000]
read enter-shell from the defaults-directory also
use prio-bias instead of cpu-mask

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

19 years agoinclude <string.h>
Enrico Scholz [Tue, 7 Dec 2004 11:13:29 +0000]
include <string.h>

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

19 years agoadded some new flags
Enrico Scholz [Tue, 7 Dec 2004 11:13:07 +0000]
added some new flags

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

19 years agodo not mention the /hostname + /domainname params anymore
Enrico Scholz [Tue, 7 Dec 2004 11:10:52 +0000]
do not mention the /hostname + /domainname params anymore
removed vsched/cpu-mask
added vsched/priority-bias

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

19 years agoadded/updated flags and capabilities
Enrico Scholz [Thu, 21 Oct 2004 19:02:04 +0000]
added/updated flags and capabilities

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

19 years agoinitial checkin
Enrico Scholz [Thu, 21 Oct 2004 19:01:26 +0000]
initial checkin

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

19 years agoutilvserver_isLink(): added prototype
Enrico Scholz [Thu, 21 Oct 2004 19:01:04 +0000]
utilvserver_isLink(): added prototype

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

19 years agoadded lots of new flags
Enrico Scholz [Thu, 21 Oct 2004 19:00:20 +0000]
added lots of new flags

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

19 years agoadded 'remount' + 'icmp' cap; 'ping' is kept for compatibility reasons
Enrico Scholz [Thu, 21 Oct 2004 18:59:38 +0000]
added 'remount' + 'icmp' cap; 'ping' is kept for compatibility reasons

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

19 years agoadded islink.c
Enrico Scholz [Thu, 21 Oct 2004 18:58:58 +0000]
added islink.c

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

19 years agogetFileValue(): modified to accept a list of candidates
Enrico Scholz [Tue, 19 Oct 2004 23:59:15 +0000]
getFileValue(): modified to accept a list of candidates

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

19 years agomerged from UV_NAMESPACE_AFTER_CHROOT branch
Enrico Scholz [Tue, 19 Oct 2004 23:39:31 +0000]
merged from UV_NAMESPACE_AFTER_CHROOT branch

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

19 years agoadded 'update-doc' target
Enrico Scholz [Tue, 19 Oct 2004 23:19:00 +0000]
added 'update-doc' target

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

19 years agoEvc_{new,enter}_namespace(): added
Enrico Scholz [Tue, 19 Oct 2004 23:11:23 +0000]
Evc_{new,enter}_namespace(): added

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

19 years agoversion 0.30.196
Enrico Scholz [Tue, 19 Oct 2004 21:47:33 +0000]
version 0.30.196

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