]> git.ipfire.org Git - thirdparty/lxc.git/commit
suppress false-negative error in templates and nvidia hook
authorLukas Pirl <git@lukas-pirl.de>
Mon, 22 Jul 2019 12:29:52 +0000 (14:29 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 2 Dec 2019 12:58:21 +0000 (13:58 +0100)
commitfc02bd72e292c4f02b2170855dfadcabd323cdbe
treede4dd548be2b3d0bf4d7def02b1dc1a7ec62cee3
parentd1d67dab1f02156c3706dae2a903fa7d0d60b57e
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@lukas-pirl.de>
hooks/nvidia
templates/lxc-busybox.in
templates/lxc-download.in
templates/lxc-local.in
templates/lxc-oci.in