Mon 02 May 2005 03:29:21 PM UTC, original submission:
Hi,
just following instruction on
http://linux-vserver.org/Step-by-Step+Guide+2.6
and
http://linux-vserver.org/alpha+util-vserver
(quoting)
Vserver creation
- generic RPM based guests plus a recent rpm on the host; the command is
# vserver <vserver-id> build -m rpm <other-options>* -- -b <base-directory> <pkg-list>*
I build a pkg-list from umbuilder's redhat 7.3 rpm list already used for a
successful user-mode-linux installation. The list is given in attachement as
rh73.
I get two errors: the first is that there is no /vservers/.pkg.
(vserver-build-step1.log) I then created it manually with
# mkdir /vservsrs/.pkg
The second error, is the message (vserver-build-step2.log):
mount: mount point /etc/rpm does not exist
My system is a Debian 3.1/unstable.
This is the rpm tool installed (LANG=C dpkg -l rpm):
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii rpm 4.0.4-29 Red Hat package manager
This is the vserver-info output:
Versions:
Kernel: 2.6.11.5-vs1.9.5
VS-API: 0x00010025
util-vserver: 0.30.207; May 2 2005, 16:17:03
Features:
CC: gcc, gcc (GCC) 3.4.4 20041218 (prerelease) (Debian 3.4.3-6)
CXX: g++, g++ (GCC) 3.4.4 20041218 (prerelease) (Debian 3.4.3-6)
CPPFLAGS: ''
CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time'
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'
build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
Use dietlibc: no (you have been warned)
Build C++ programs: yes
Build C99 programs: yes
Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
ext2fs Source: e2fsprogs
syscall(2) invocation: fast
vserver(2) syscall#: 273/glibc
Paths:
prefix: /usr/local
sysconf-Directory: ${prefix}/etc
cfg-Directory: ${prefix}/etc/vservers
initrd-Directory: $(sysconfdir)/init.d
pkgstate-Directory: ${prefix}/var/run/vservers
Kernelheaders: /lib/modules/2.6.11.5-vs1.9.5/build/include
vserver-Rootdir: /vservers
|