[lxc-devel] [lxc/lxc] 16a312: suppress false-negative error in templates and nvi...

Stéphane Graber noreply at github.com
Tue Aug 27 19:38:59 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 16a312e118749caf1c4bef3c9553b0564336626b
      https://github.com/lxc/lxc/commit/16a312e118749caf1c4bef3c9553b0564336626b
  Author: Lukas Pirl <git at lukas-pirl.de>
  Date:   2019-07-22 (Mon, 22 Jul 2019)

  Changed paths:
    M hooks/nvidia
    M templates/lxc-busybox.in
    M templates/lxc-download.in
    M templates/lxc-local.in
    M templates/lxc-oci.in

  Log Message:
  -----------
  suppress false-negative error in templates and nvidia hook

``/proc`` might be mounted with ``hidepid=2``.
This makes ``/proc/1/…`` appear absent for non-root users.
When using the templates or the nvidia hook as a non-root user
(e.g., when creating unprivileged containers) the error
"/proc/1/uid_map: No such file or directory" is printed.
Since the script works correctly despite the error, this error
message might be confusing for users.

Signed-off-by: Lukas Pirl <git at lukas-pirl.de>


  Commit: 44c7d9c39c0afb47297327611ceaf3a11367163c
      https://github.com/lxc/lxc/commit/44c7d9c39c0afb47297327611ceaf3a11367163c
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2019-08-27 (Tue, 27 Aug 2019)

  Changed paths:
    M hooks/nvidia
    M templates/lxc-busybox.in
    M templates/lxc-download.in
    M templates/lxc-local.in
    M templates/lxc-oci.in

  Log Message:
  -----------
  Merge pull request #3097 from lpirl/proc-1-uid_map-permission-denied

suppress false-negative error in templates and nvidia hook


Compare: https://github.com/lxc/lxc/compare/61287e52414c...44c7d9c39c0a


More information about the lxc-devel mailing list