]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: allow to run generators without sandboxing on qemu-user
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 24 Aug 2023 14:10:26 +0000 (23:10 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 6 Sep 2023 12:18:50 +0000 (13:18 +0100)
commit468018703ce1c0f123240fb6ba9b8b0b90f12930
tree8e7e8a39109f014ddb54733525da461c439d1209
parented11d5865831b22f792cf8a1cff980157f4b17d4
core: allow to run generators without sandboxing on qemu-user

When running on non-native userland architecture via systemd-nspawn
and qemu-user-static QEMU-emulator, clone() with CLONE_NEWNS fails with
EINVAL.

Fixes #28901.

[zjs: add a comment in the code]
src/core/manager.c