]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/conf.c
In lxc.mount.auto, skip on ENONENT
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 2 Feb 2015 09:21:20 +0000 (11:21 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Sun, 8 Feb 2015 16:08:48 +0000 (18:08 +0200)
commitb88ff9a0e33e7220d0c2b7059706c492200e4c2b
treece7dabe431cc5cfa4f88f8e8b250bfe6ed889adf
parent24ab0d34048f80c1419843fa007cac581855749d
In lxc.mount.auto, skip on ENONENT

This resolves the case where /proc/sysrq-trigger doesn't exist by simply
ignoring any mount failure on ENOENT. With the current mount list, this
will always result in a safe environment (typically the read-only
underlay).

Closes #425

v2: Don't always show an error

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c