From: Alessandro Astone Date: Wed, 4 Jan 2023 14:03:09 +0000 (+0100) Subject: lxc: Workaround against lxc changing logfile permissions X-Git-Tag: 1.4.0~55 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/fb92d3a016a956e8520e938b59f55bd0fe9c2deb?hp=fb92d3a016a956e8520e938b59f55bd0fe9c2deb lxc: Workaround against lxc changing logfile permissions Running lxc-start changes the permissions of stdout/stderr to 700. The previous workaround of changing the permissions back after lxc-status only worked because of the lxc-status loop in container_manager.start Make it more generic by applying it to every caller of helpers.lxc.start See: https://github.com/lxc/lxc/blob/6564e6ccb22e6e3c6cf36e6ae3cb5d5f73122486/src/lxc/utils.c#L1859 ---