From: Enrico Scholz (enrico.scholz_at_informatik.tu-chemnitz.de)
Date: Mon 08 Aug 2005 - 23:24:34 BST
jcpetit_at_syspark.com (Jean-Christophe Petit) writes:
> 2.6.12.3-vs2.0-rc9 with util-vserver-0.30.208 under CentOS 4
> followed the http://linux-vserver.org/CentOS_HowTo
>
> when in the vserver, "rpm -qa" gives nothing.
Expected; external packagemangement is used by default which holds rpm
database outside of the vserver. When you *really* need it, 'vserver
... pkgmgmt internalize' should copy it into the vserver so that 'rpm
-q' works there. But for most vserver types, the external management
should suffice.
> I have the /.rpmdb/ in place with files inside:
> bash-3.00# ls -la /.rpmdb/
> total 504
> drwxr-xr-x 2 root root 4096 Aug 3 05:12 .
> drwxr-xr-x 22 root root 4096 Aug 3 05:04 ..
> -rw-r--r-- 1 root root 16384 Aug 3 05:08 __db.001
> -rw-r--r-- 1 root root 1318912 Aug 3 05:08 __db.002
> -rw-r--r-- 1 root root 450560 Aug 3 05:08 __db.003
> -rw-r--r-- 1 root root 12288 Aug 3 05:12 Group
...
These files were created by your 'rpm -q' operation which initializes
the rpm database.
Enrico
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver