OpenVZ Forum - RDF feed
type: channel
items: rpm in a container question?
items: Re: rpm in a container question?

rpm in a container question?
type: item
description: Hi Everyone! I have a small but a very annoying problem... I can't do "rpm" within a container. Example: # cat /etc/redhat-release CentOS release 5.4 (Final) # uname -r 2.6.18-164.2.1.el5.028stab066.7 This command works fine: # rpm --dbpath /vz/root/101/var/lib/rpm -qa While this command shows nothing: # vzctl enter 101 entered into CT 101 # rpm -qa Any hints why? Thanks in advance, Michael
creator: michaelk
date: 2009-11-27T20:29:02-00:00

Re: rpm in a container question?
type: item
description: What are RPM software versions on the host system and inside the CT? I.e. the output of the below executed on the host system: rpm --version vzctl exec 101 rpm --version
creator: kir
date: 2009-11-27T20:45:29-00:00

Re: rpm in a container question?
type: item
description: what if you try yum? does it make any errors? with some containers which i had migrated from xen based virtualization (xen guests) i had problems also with yum, and also rpm makes no output you can try some suggestions provided by me in: https://www.centos.org/modules/newbb/viewtopic.php?topic_id= 20237&forum=37&post_id=76684#forumpost76684
creator: Paparaciz
date: 2009-11-27T21:27:45-00:00

Re: rpm in a container question?
type: item
description: Hi! creating a new /dev/urandom i.e: # vzctl stop 101 # mknod --mode 644 /vz/private/101/dev/urandom c 1 9 # vzctl start 101 solved the problem I guess something got messed up when I upgraded from 5.3 to 5.4... Thanks for all help! Michael
creator: michaelk
date: 2009-11-28T10:19:02-00:00