Johannes Graumann
2013-Sep-03 10:51 UTC
[CentOS-virt] "lxc-centos" container automation script
Hello, For me as a debianista who has need to run some software (Kolab) in the vendor(provider)-supported OS (CentOS), LXC is a godsend. However, lxc distributions I am aware of do not ship the "lxc-fedora" or "lxc-debian" equivalent to construct a container. I have thus set out to modify the former (please find the result attached). In the process of getting that to work yum/rpm presents me with the following errors: Installing : filesystem-2.4.30-3.el6.x86_64 3/128 warning: group lock does not exist - using root warning: group mail does not exist - using root Installing : sysvinit-tools-2.87-4.dsf.el6.x86_64 47/128 warning: group tty does not exist - using root Installing : libutempter-1.1.5-4.1.el6.x86_64 59/128 warning: group utempter does not exist - using root warning: group utmp does not exist - using root Installing : util-linux-ng-2.17.2-12.9.el6_4.3.x86_64 121/128 warning: group tty does not exist - using root Installing : initscripts-9.03.38-1.el6.centos.2.x86_64 122/128 chmod: cannot access `/var/lib/random-seed': No such file or directory Non-fatal POSTIN scriptlet failure in rpm package initscripts-9.03.38-1.el6.centos.2.x86_64 warning: %post(initscripts-9.03.38-1.el6.centos.2.x86_64) scriptlet failed, exit status 1 I was wondering whether anyone here could advise on how to circumvent these issues. Optimally I'd like to prevent them (which may not be feasible given the "chroot" nature of the install). How to fix this from within a running container would also be most welcome information ... Thank you for your consideration. Sincerely, Joh -------------- next part -------------- A non-text attachment was scrubbed... Name: lxc-centos Type: application/x-shellscript Size: 12692 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20130903/5653cb1b/attachment-0006.bin>