Bug#919825: systemd: local filesystems other than '/' and '/usr' not checked and mounted -- emergency mode

Bob Tracy rct at gherkin.frus.com
Thu Mar 7 09:27:57 GMT 2019


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.)



More information about the Pkg-systemd-maintainers mailing list