Am 11.10.18 um 03:53 schrieb Jonathan Nieder: > Hi, > > spuggy...@gmail.com wrote: > >> When run under dash, systemd-detect-virt returns "none" in a systemd-nspawn >> chroot'd environment when it should not; same command under bash works >> as expected. > > Do you have more details? What test does systemd-detect-virt use, and > why is it failing on dash? What version of systemd are you using?
Fwiw, I can't reproduce # machinectl shell debian Connected to machine debian. Press ^] three times within 1s to exit session. root@debian:~# systemd-detect-virt systemd-nspawn root@debian:~# dash # systemd-detect-virt systemd-nspawn This is on stretch. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature