[Lxc-users] Remedy for centos base installation failing operations on /sys?
Fajar A. Nugraha
list at fajar.net
Thu Jul 19 20:50:28 UTC 2012
On Fri, Jul 20, 2012 at 2:27 AM, Johannes Graumann
<johannes_graumann at 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-users@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.
--
Fajar
More information about the lxc-users
mailing list