Re: [Lxc-users] Remedy for centos base installation failing operations on /sys?

2012-07-23 Thread Johannes Graumann
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

Re: [Lxc-users] Remedy for centos base installation failing operations on /sys?

2012-07-23 Thread Fajar A. Nugraha
On Mon, Jul 23, 2012 at 3:40 PM, Johannes Graumann johannes_graum...@web.de wrote: 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

Re: [Lxc-users] Remedy for centos base installation failing operations on /sys?

2012-07-23 Thread Fajar A. Nugraha
On Mon, Jul 23, 2012 at 6:15 PM, Johannes Graumann johannes_graum...@web.de wrote: On the container /var/lib/rpm is now empty That is not right. It might be the source of your problem. Try yum --installroot=/some/path/of/your/choice groupinstall base ... and verify whether /var/lib/rpm under

Re: [Lxc-users] Remedy for centos base installation failing operations on /sys?

2012-07-23 Thread Fajar A. Nugraha
On Tue, Jul 24, 2012 at 4:20 AM, Fajar A. Nugraha l...@fajar.net wrote: On Mon, Jul 23, 2012 at 6:15 PM, Johannes Graumann johannes_graum...@web.de wrote: On the container /var/lib/rpm is now empty That is not right. It might be the source of your problem. Try yum

Re: [Lxc-users] Remedy for centos base installation failing operations on /sys?

2012-07-19 Thread Fajar A. Nugraha
On Thu, Jul 19, 2012 at 2:03 PM, Johannes Graumann johannes_graum...@web.de wrote: Hi, The filesystem package is part of a centos base installation and is uninstallable in an lxc container (see pasted output below) due to lacking access rights to /sys ... I'm not sure that this is even

Re: [Lxc-users] Remedy for centos base installation failing operations on /sys?

2012-07-19 Thread Serge Hallyn
Quoting Johannes Graumann (johannes_graum...@web.de): Hi, The filesystem package is part of a centos base installation and is uninstallable in an lxc container (see pasted output below) due to lacking access rights to /sys ... I'm not sure that this is even crucial, as the container

Re: [Lxc-users] Remedy for centos base installation failing operations on /sys?

2012-07-19 Thread Fajar A. Nugraha
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