[lxc-devel] [PATCH] Update Fedora and CentOS templates for common conf includes.

Michael H. Warfield mhw at WittsEnd.com
Thu Jan 23 21:02:05 UTC 2014


On Wed, 2014-01-22 at 10:35 -0500, Stéphane Graber wrote: 
> On Wed, Jan 22, 2014 at 09:29:23AM -0500, Michael H. Warfield wrote:
> > On Tue, 2014-01-21 at 20:25 -0500, Stéphane Graber wrote: 
> > > On Tue, Jan 21, 2014 at 11:56:56AM -0500, Michael H. Warfield wrote:
> > > > Update Fedora and CentOS templates for common conf includes.
> > > > 
> > > > This updates the Fedora and CentOS templates to utilize a common
> > > > included config.  This is largely based on the changes in the Oracle
> > > > template with some exceptions.
> > > > 
> > > > Dropping of setpcap (present in the Oracle template) is commented out in
> > > > the Fedora template.  It seems to cause problems, such as large login
> > > > delays with Fedora 20 containers (but not Fedora 19 - strange).
> > > > 
> > > > The Fedora template is further modified to disable systemd-journald.service
> > > > as it is unnecessary in a container and causes serious problems when
> > > > running in a Fedora 20 container.
> > > > 
> > > > The Fedora template is also updated to default to Fedora 20 when running
> > > > on a non-Fedora host.
> > > > 
> > > > Regards,
> > > > Mike
> > > > 
> > > > Signed-off-by: Michael H. Warfield <mhw at WittsEnd.com>
> > > 
> > > Acked-by: Stéphane Graber <stgraber at ubuntu.com>
> > > 
> > > I'll setup builds for CentOS 6.5 on amd64 and i386 and for Fedora 19 and
> > > 20 also on amd64 and i386.
> > > 
> > > I believe Fedora 20 also supports armhf but that one may need a bit more
> > > work to get going (do you know if your template works with armhf?).
> > 
> > Fedora does support armhf in mainline now.  Previously it was in aux.
> > The template was definitely working with Raspberry Pi armhf with
> > Fedora18.  That was before they created the "Pidora" respin which broke
> > the Fedora template thanks to the name change and some repo changes.
> > Since then, I've also done that distro agnostic bootstrap coding.  I
> > wouldn't be surprised if it was broken, but it should be close.  I'll
> > have to give it a shot on one of my RPi's.
> > 
> > Regards,
> > Mike

> The image build worked at least, I still need to actually test the
> resulting images to make sure they work though.

> Btw, any chance of getting -A working before 1.0 release?

Ok, you got it in both the Fedora and CentOS templates.  I just posted
the patch.  I changed it to be "-a" instead of "-A" to correspond with
the options in the Oracle and Ubuntu templates as well.

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-devel/attachments/20140123/5d445cf3/attachment.pgp>


More information about the lxc-devel mailing list