On 27/02/2026 16:33, Wolfgang Bumiller wrote:
We probably want a way to just say "undo the container user
namespace". The pre-start hook gets a `$namespaces` hash passed as 3rd
parameter, we can just open the user namespace fd there for this
purpose.

When `lxc.hook.version = 0` (which seems to be the default), $namespaces
remains empty. So yes, we could try to get the namespace fd from
$namespaces, but we would just have to fall back to obtaining the
namespace manually unless `lxc.hook.version = 1` is set explicitly.




Reply via email to