bugutil-vserver - Bugs: bug #12935, pkgcfgbase-dir '/vservers/.pkg'...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12935: pkgcfgbase-dir '/vservers/.pkg' does not exist or is invalid and mount point /etc/rpm does not exist

Submitted by:  None
Submitted on:  Mon 02 May 2005 03:29:21 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Enrico Scholz <ensc>
Open/Closed: ClosedComponent Version: alpha
Release: 0.30.207

Mon 02 May 2005 09:27:04 PM UTC, comment #1:

First issue (missing /vservers/.pkg) is solved by some messages giving out at 'make install' time which explain additional, required steps. 'make install' can not create this directory as it is outside of $(prefix).

The second issue (missing /etc/rpm directory) is a bug in the Debian rpm package. This directory should be owned and created by this package as it is a place for additional configuration of rpm. 'util-vserver' must not manage it as it may cause unwanted effects when e.g. somebody decides to package it as a symlink. Quick'n dirty workaround would be the manual creation with

| mkdir /etc/rpm

in the host.

Enrico Scholz <ensc>
Project AdministratorIn charge of this item.
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

Anonymous

 

Attached Files
file #2911:  vserver.tar.bz2 added by None (18KiB - application/x-bzip - 3 log files)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 02 May 2005 09:27:04 PM UTCenscStatusNone=>Fixed
  Assigned toNone=>ensc
  Open/ClosedOpen=>Closed
Mon 02 May 2005 03:29:21 PM UTCNoneAttached File-=>Added vserver.tar.bz2, #2463

Back to the top


Powered by Savane 3.1-cleanup1