Fajar A. Nugraha wrote:

> On Fri, Jul 20, 2012 at 2:27 AM, Johannes Graumann
> <johannes_graum...@web.de> wrote:
>>> Also, how do you create your container? If you use templates, "yum
>>> --installroot", or similar, then the package should already be
>>> installed.
>> I modified the debian-supplied fedora template (and posted it to this
>> list:
>> http://www.mail-archive.com/lxc-
us...@lists.sourceforge.net/msg03761.html)
>> ...
> 
> That might explain it. The script installs "yum initscripts passwd
> rsyslog vim-minimal dhclient chkconfig rootfiles policycoreutils". You
> might want to add "basesystem" there (which should install
> "filesystem" as a dependency).
> 
> What I usually do is "yum --installroot=/t groupinstall base" plus
> "yum --installroot=/t install dhclient"
> 
> Anyway, an easy workaround is to stop your container and "yum
> --installroot=/var/lib/lxc/... filesystem" from the host.

Thanks for your hints ... I have investigated this some more and the problem 
is that "filesystem" actually get's installed via the host, but once the 
guest is running it is missing the yum data base on what is installed and 
what not, so any installation afterwards that has the dependency 
"filesystem" is reinstalling it (among many other things). Is it possible to 
transplant the yum state information to the guest - rsyncing the 
corresponding /var/cache directory to the guest does not seem to do the 
trick ...

Thank you for your help.

Sincerely, Joh



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to