[lxc-devel] [lxc/lxc] c9b8a7: In lxc.mount.auto, skip on ENONENT

GitHub noreply at github.com
Sun Feb 8 16:16:27 UTC 2015


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: c9b8a700157f7a78e606a5c6a9a4dbd5413b07a0
      https://github.com/lxc/lxc/commit/c9b8a700157f7a78e606a5c6a9a4dbd5413b07a0
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-02-08 (Sun, 08 Feb 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  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 at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list