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

Dongsheng Song dongsheng.song at gmail.com
Sun Sep 28 06:21:38 UTC 2014


On Thu, Sep 18, 2014 at 9:48 PM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
>
> Quoting Dongsheng Song (dongsheng.song at gmail.com):
> > On Wed, Sep 17, 2014 at 10:02 PM, Michael H. Warfield <mhw at wittsend.com> wrote:
> > > 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.
> > >
> >
> > Thank you, I found the CentOS 7 image refreshed, but the latest image
> > (20140918_02:16) still have same issue:
> >
> > In the container:
> >
> > # cat /var/cache/lxc/download/centos/7/amd64/default/build_id
> > 20140918_02:16
> >
> > 18377 ?        Ss     0:17 tmux
> > 18378 pts/57   Ss+    0:00  \_ -bash
> > 10288 pts/5    Ss     0:00  \_ -bash
> > 10555 pts/5    S+     0:00      \_ lxc-start -l DEBUG -n centos7-01
> > 10558 ?        Ss     0:00          \_ /sbin/init
> > 10583 ?        Z      0:00              \_ [mount] <defunct>
> > 10584 ?        Z      0:00              \_ [mount] <defunct>
> > 10585 ?        Zs     0:00              \_ [(journald)] <defunct>
> > 10586 ?        Zs     0:00              \_ [systemd-tmpfile] <defunct>
> > 10587 ?        Z      0:00              \_ [mount] <defunct>
> >
> > In the guest:
> > [root at centos7-01 ~]# ps -e f
> >   PID TTY      STAT   TIME COMMAND
> >    14 ?        S      0:00 /bin/bash
> >    26 ?        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>
> >
> > I found the pull request (https://github.com/lxc/lxc/pulls) is empty,
> > could you tell me
> > where I can find these patches ?
>
> They'll be on the mailing list: https://lists.linuxcontainers.org/listinfo/lxc-devel
>

Thank you, your patch works very good on the master branch.
But the generated guest works well on 1.1 lxc, I got same errors on 1.0 lxc.


More information about the lxc-users mailing list