On Thu, Mar 07, 2019 at 10:09:10AM +0100, Michael Biebl wrote: > https://github.com/systemd/systemd/blob/master/src/fstab-generator/fstab-generator.c#L109 > https://github.com/systemd/systemd/blob/master/src/basic/virt.c#L430 > > There are various tests used to determine if the system runs in a > container environment. > What does systemd-detect-virt say?
"none", now that the system is up and running. No idea what it would have said while the machine was in "emergency mode". From reading the manual page for "systemd-detect-virt", the message about running in a container could be because the virtualization detection logic was triggered by running in a chroot() environment (initrd). (I didn't look at the fstab-generator code, so this is pure speculation.)