[lxc-devel] Missing packet in archlinux template

Leonid Isaev lisaev at umail.iu.edu
Thu Mar 20 15:30:42 UTC 2014


On Thu, 20 Mar 2014 10:19:53 -0400
Stéphane Graber <stgraber at ubuntu.com> wrote:

> On Thu, Mar 20, 2014 at 03:05:58PM +0100, Julien Delaborde wrote:
> > Hi,
> > 
> > I used the archlinux template to create an archlinux container but the
> > system could not properly start. In fact, I discovered thanks to the logs
> > that there were some missing binaries (mount, agetty, …). In archlinux,
> > these binaries are in the packet "core/util-linux".
> > 
> > I tried to create a new container with this packet (lxc-create -n melon -t
> > archlinux -- -P util-linux) and now I can connect to my container.
> > 
> > Regards,
> > 
> > Julien Delaborde
> 
> Can you provide a patch against lxc-archlinux.in to add the missing package?
> 
> If you do, please remember to sign-off on your commit (Signed-off-by: ...).
> 
> Thanks
> 

Perhaps an explanation would help... The util-linux package has been split
into 2 packages containing binaries (util-linux) and libraries (libutil-linux)
due to certain circular dependecy issues involving systemd. Originally,
util-linux was pulled in by systemd, now the latter depends only on
libutil-linux. Both {lib,}util-linux are in archlinux core _and_ the base
group which means that packages do not need to specify them as deps. The
archlinux template is somewhat broken because it cherry-picks packages from
across all repos, which is not a good idea (archlinux repos change quite
rapidly).

I would suggest removing the ${base_packages} array and just installing the
entire base group plus a few (~O(1)) packages like ldns which do not belong in
base.

I can send the relevant patch along with other changes which I am testing right
now, but not until early next week.

Thanks,
-- 
Leonid Isaev
GPG key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140320/b83eff8a/attachment.pgp>


More information about the lxc-devel mailing list