Re: [Vserver] possible for host and guest to share rpm database?

2006-01-10 Thread Dimitris Zilaskos


On Tue, 10 Jan 2006, Guenther Fuchs wrote:


Hi there,

on Tuesday, January 10, 2006 at 8:35:37 PM there was posted:


DZ> Unfortunately I would like to avoid that:/ . I just want
DZ> them to be able to query the rpm database. I would like to stick
DZ> with package management from the host since it is a life saver.

In that case: Wouldn't then a simple cron-script on the host producing
an actual list into a plain textfile inside the guest solve your
problem? Maybe a simple hourly base could do that?



	That would not help it. The requirement is that rpm commands 
should work from within the guest OS. In this particular case the list of 
the rpms installed in the vserver must be returned by executing the 
appropriate rpm commands.


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
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] possible for host and guest to share rpm database?

2006-01-10 Thread Herbert Poetzl
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
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] possible for host and guest to share rpm database?

2006-01-10 Thread Guenther Fuchs
Hi there,

on Tuesday, January 10, 2006 at 8:35:37 PM there was posted:


DZ> Unfortunately I would like to avoid that:/ . I just want
DZ> them to be able to query the rpm database. I would like to stick
DZ> with package management from the host since it is a life saver.

In that case: Wouldn't then a simple cron-script on the host producing
an actual list into a plain textfile inside the guest solve your
problem? Maybe a simple hourly base could do that?

-- 
regards 'n greez,

Guenther Fuchs
(aka "muh" and "powerfox")

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] possible for host and guest to share rpm database?

2006-01-10 Thread Dimitris Zilaskos




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.


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
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] possible for host and guest to share rpm database?

2006-01-10 Thread Herbert Poetzl
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 ...

HTH,
Herbert

> TIA,
> 
> --
> 
> 
> 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
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] possible for host and guest to share rpm database?

2006-01-10 Thread Dimitris Zilaskos


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.
	I would like to avoid having to maintain both an internal and 
external rpm database. Is it possible somehow for the vrpm from the host 
os and rpm from within the vserver to return the same list?


TIA,

--


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
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver