chiark / gitweb /
Revert "util: Fine tune running_in_chroot() a bit" (#5506)
authorLennart Poettering <lennart@poettering.net>
Wed, 1 Mar 2017 20:22:02 +0000 (21:22 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:36 +0000 (17:58 +0200)
commite7082c89f1eac3ee251e659ee004f4d29fc284a6
treea8cabdd84ab6039caf39f4528a8b735ea4107842
parent897fa0c6abbc3ca06bbde9ec9f53f07ae24d8eba
Revert "util: Fine tune running_in_chroot() a bit" (#5506)

This reverts commit 295ee9845c801300298d01256eb5a9e3ff117ae0.

Let'd revert this for now, see #5446 for discussions.

We want elogind-detect-virt --chroot to return true for all chroot-like stuff, for
example mock environments which have use a mount namespace. The downside
of this revert that systemctl will not work from our own namespaced services, anything
with RootDirectory=/RootImage= set.
src/basic/virt.c