[lxc-users] centos/7/amd64 image broken

Michael H. Warfield mhw at WittsEnd.com
Wed Sep 17 14:02:58 UTC 2014


On Wed, 2014-09-17 at 21:39 +0800, Dongsheng Song wrote:
> Hi,

> I can install and running centos/6/amd64 smoothly:

> lxc-create -t download -n centos6-01 --     --dist centos --release 6
> --arch amd64
> lxc-start -d -n centos6-01
> lxc-attach -n centos6-01

> yum update; yum upgrade -y

> But centos/7/amd64 was broken:

> lxc-create -t download -n centos7-01 --     --dist centos --release 7
> --arch amd64
> lxc-start -d -n centos7-01
> lxc-attach -n centos7-01

> [root at centos7-01 log]# ps -e f
>   PID TTY      STAT   TIME COMMAND
>    17 ?        S      0:00 /bin/bash
>    86 ?        R+     0:00  \_ ps -e f
>     1 ?        Ss     0:00 /sbin/init
>     9 ?        Z      0:00 [mount] <defunct>
>    10 ?        Z      0:00 [mount] <defunct>
>    11 ?        Zs     0:00 [(journald)] <defunct>
>    12 ?        Zs     0:00 [systemd-tmpfile] <defunct>
>    13 ?        Z      0:00 [mount] <defunct>
>    14 ?        Zs     0:00 [systemd-remount] <defunct>

> yum upgrade frozen:
>     yum update; yum upgrade -y

> [root at centos7-01 ~]# ps -e f
>   PID TTY      STAT   TIME COMMAND
>   147 ?        S      0:00 /bin/bash
>   159 ?        R+     0:00  \_ ps -e f
>    17 ?        S      0:00 /bin/bash
>    87 ?        S+     0:14  \_ /usr/bin/python /usr/bin/yum update
>     1 ?        Ss     0:00 /sbin/init
>    83 ?        Ss     0:00 dhclient eth0
>   137 ?        Zs     0:00 [systemctl] <defunct>
>   140 ?        Zs     0:00 [(journald)] <defunct>

> The container is the latest debian/jessie (amd64), with kernel
> 3.14.15-2 (2014-08-09) and lxc 1.0.5-3.

I don't know where the CentOS 7 download template came from.  I only
recently (days ago) submitted the patches for the live CentOS template
to support release 7.  Those patches have not been acked or committed to
the upstream sources yet.  Since the download template images are
derived from container images the live templates have generated, I can
only assume that the download image was built from the CentOS template
before it was patched to support Systemd in a CentOS template.  You may
have to wait until Stéphane integrates the patches and regenerates the
image.
 
> Regards,
> Dongsheng

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 465 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140917/6af92e2c/attachment.sig>


More information about the lxc-users mailing list