]> git.proxmox.com Git - pve-installer.git/commit - unconfigured.sh
tell udev to ignore being in a chroot
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 Mar 2019 18:47:05 +0000 (19:47 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 Mar 2019 18:48:49 +0000 (19:48 +0100)
commit194d737a431e8602607bc8fffff8c19df4525e85
treeea712b989955600dc12a3c7c5ec0df5631166473
parent89aa55e2f9535135828030f292b1723623d7b081
tell udev to ignore being in a chroot

since udev/systemd v241 udev actively ignores requests if it detects
running in a chroot environment[0], as we do exactly this in our
setup process we need to tell udev that it is OK and we know what we
do, so set SYSTEMD_IGNORE_CHROOT=1 which makes the
"running_in_chroot" function lie[1].

[0]: https://github.com/systemd/systemd/commit/c494b739a47359ab2697482f52545e2a6d1c86ad
[1]: https://github.com/systemd/systemd/blob/v241/src/basic/virt.c#L607

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
unconfigured.sh