On Tue, Jan 10, 2006 at 09:35:37PM +0200, Dimitris Zilaskos wrote: > > > > On Tue, 10 Jan 2006, Herbert Poetzl wrote: > > >On Tue, Jan 10, 2006 at 02:45:12AM +0200, Dimitris Zilaskos wrote: > >> > >>Hello , > >> > >>I am using linux vserver with gentoo as host os and scientific linux > >>guest os(RHEL compatible). I am managing the rpm packages from the > >>host os with vapt-get and vyum. However there is a requirement on > >>certain vservers that their users have to be able to execute rpm -qa > >>and get a list of the installed rpms .Naturally right now the list is > >>empty. > > > >because the rpm database is kept external > > > >>I would like to avoid having to maintain both an internal and > >>external rpm database. > > > >change to an internal rpm database ... > > > >from the 'vserver --help': > > > > pkgmgmt externalize|internalize [-y] > > ... externalize or internalize the package-management for the > > given vserver. 'Externalize' means that package metadata > > and management tools (apt-get,rpm) are living in the host, > > while 'internalize' means that data and programs from the > > vserver will be used. > > > >>Is it possible somehow for the vrpm from the host os and rpm from > >>within the vserver to return the same list? > > > >.. and maintain the guest (on the host) with > >the internal database ... > > > Unfortunately I would like to avoid that :/ . I just want them to be > able to query the rpm database. I would like to stick with package > management from the host since it is a life saver.
hmm, well, I guess the only way to do that in a save manner is to provide the information via some interface, e.g. maybe use a web page for the queries or, if you think that a read-only access is secure, mount the database into the guest (but read-only) HTH, Herbert > Cheers , > > -- > ============================================================================ > > Dimitris Zilaskos > > Department of Physics @ Aristotle University of Thessaloniki , Greece > PGP key : http://tassadar.physics.auth.gr/~dzila/pgp_public_key.asc > http://egnatia.ee.auth.gr/~dzila/pgp_public_key.asc > MD5sum : de2bd8f73d545f0e4caf3096894ad83f pgp_public_key.asc > ============================================================================ _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
