[lxc-devel] [PATCH] lxc-plamo: Set lxc.autodev to 0
Stéphane Graber
stgraber at ubuntu.com
Tue Jan 27 09:59:17 UTC 2015
On Tue, Jan 27, 2015 at 06:48:14PM +0900, KATOH Yasufumi wrote:
> At this time, a container that is created by lxc-plamo can't work with
> lxc.autodev=1
>
> Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
So the distro has no /dev population script at boot time?
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
> ---
> config/templates/plamo.common.conf.in | 3 +++
> config/templates/plamo.userns.conf.in | 3 +++
> 2 files changed, 6 insertions(+)
>
> diff --git a/config/templates/plamo.common.conf.in b/config/templates/plamo.common.conf.in
> index 22d9207..9b0d02b 100644
> --- a/config/templates/plamo.common.conf.in
> +++ b/config/templates/plamo.common.conf.in
> @@ -8,6 +8,9 @@ lxc.mount.entry = none dev/shm tmpfs nosuid,nodev,noexec,mode=1777 0 0
> # Doesn't support consoles in /dev/lxc/
> lxc.devttydir =
>
> +# /dev/* is created manually by template
> +lxc.autodev = 0
> +
> # Extra cgroup device access
> ## rtc
> lxc.cgroup.devices.allow = c 254:0 rm
> diff --git a/config/templates/plamo.userns.conf.in b/config/templates/plamo.userns.conf.in
> index 707bb30..bf50936 100644
> --- a/config/templates/plamo.userns.conf.in
> +++ b/config/templates/plamo.userns.conf.in
> @@ -1,2 +1,5 @@
> # This derives from the global userns config
> lxc.include = @LXCTEMPLATECONFIG@/userns.conf
> +
> +# /dev/* is created manually by template
> +lxc.autodev = 0
> \ No newline at end of file
> --
> 2.2.1
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20150127/4fd9a033/attachment.sig>
More information about the lxc-devel
mailing list