mirror_lxc/templates
Michael Adam c2af30847a add "--mask-tmp" to lxc-fedora, plus some template script fixes]
Hi Michael,

do you have any concerns with the attached patch to
the fedora template that adds an option --mask-tmp
that prevents fedora/systemd from over-mounting
/tmp with tmpfs, which is useful in some cases?

Thanks - Michael

----- Forwarded message from Michael Adam <obnox@samba.org> -----

Date: Sat, 10 Jan 2015 13:12:06 +0100
From: Michael Adam <obnox@samba.org>
To: LXC development mailing-list <lxc-devel@lists.linuxcontainers.org>
Subject: Re: [lxc-devel] [PATCHES] add "--mask-tmp" to lxc-fedora, plus some
	template script fixes
User-Agent: Mutt/1.5.23 (2014-03-12)

On 2015-01-10 at 13:08 +0100, Michael Adam wrote:
> On 2015-01-10 at 04:05 +0000, Serge Hallyn wrote:
>
> > The less controversial one is adding mask-tmp to the fedora template.
> > It looks fine to me, but that should go separately to mwarfield, our
> > fedora template maintainer :)
>
> I had notified mhw of my patches on irc, but apparently he is
> currently very busy.
>
> For a start, following is an update of the uncontroversial fix
> patches, i.e. the fix patche without the path ones, and without
> the mask-tmp patch.

And here comes the mask-tmp patch.
It needs to be applied onto the previous fix-patchset.

From 9589dca113535ed2f4faad89db2fab33bb8a9d7e Mon Sep 17 00:00:00 2001
From: Michael Adam <obnox@samba.org>
Date: Thu, 8 Jan 2015 10:25:24 +0100
Subject: [PATCH] lxc-fedora: add a new option --mask-tmp

This will configure the container to prevent the standard
behaviour of over-mounting /tmp with tmpfs, which can be
undesirable in some cases.

My personal use case is vagrant-lxc in combination with
vagrant-cachier.

Signed-off-by: Michael Adam <obnox@samba.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
2015-01-21 12:48:59 -06:00
..
lxc-alpine.in lxc-alpine: use yaml for detection of latest release 2015-01-05 16:27:39 -05:00
lxc-altlinux.in lxc-altlinux: protect possibly unset variable with quotes for -z check 2015-01-10 10:07:41 -06:00
lxc-archlinux.in lxc-archlinux: Properly set default locale in /etc/locale.conf 2014-08-25 16:15:32 -04:00
lxc-busybox.in busybox template: mount fstab when available 2014-10-22 09:18:14 -05:00
lxc-centos.in Turn autodev on by default 2015-01-20 19:47:14 -05:00
lxc-cirros.in lxc-cirros: support creating+running unprivileged 2014-11-24 16:32:00 -05:00
lxc-debian.in Set kmsg to 0 by default 2015-01-20 19:47:17 -05:00
lxc-download.in lxc-download: improve help text. 2015-01-15 19:09:14 -05:00
lxc-fedora.in add "--mask-tmp" to lxc-fedora, plus some template script fixes] 2015-01-21 12:48:59 -06:00
lxc-gentoo.in typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 18:40:26 -05:00
lxc-openmandriva.in Turn autodev on by default 2015-01-20 19:47:14 -05:00
lxc-opensuse.in lxc-opensuse: protect possibly unset variable with quotes in -z check 2015-01-10 10:07:41 -06:00
lxc-oracle.in Set kmsg to 0 by default 2015-01-20 19:47:17 -05:00
lxc-plamo.in lxc-plamo: mount tmpfs on /dev/shm 2014-11-24 16:07:08 -05:00
lxc-sshd.in Set kmsg to 0 by default 2015-01-20 19:47:17 -05:00
lxc-ubuntu-cloud.in ubuntu templates: don't check for $rootfs/run/shm 2014-08-08 11:40:03 -04:00
lxc-ubuntu.in Create the apt proxy in the cache instead of the 1st container 2014-10-27 17:39:24 -04:00
Makefile.am gentoo: Initial template 2014-01-14 16:45:51 -05:00