]> git.proxmox.com Git - mirror_lxc.git/commit
execute: skip lxc-init logging when unprivileged
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 23 Aug 2018 13:46:12 +0000 (15:46 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 23 Aug 2018 14:34:20 +0000 (16:34 +0200)
commit5c618243501b2c488f368920f1632549ddcfb6f2
tree3573c2718b4531bf48ae59f8b3c955d95593664f
parentc5dc704ae512e4bb4eda576cd7067361a13d10ad
execute: skip lxc-init logging when unprivileged

Unprivileged app containers will not be able to open the passed in
/proc/1/fd/<idx> log path and will thus currently fail completely as soon as
any log level or log file is passed.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Reported-by: Mrinal Dhillon <mdhillon@juniper.net>
src/lxc/execute.c