[systemd-devel] automount EFI system partition to /efi fails

Lennart Poettering lennart at poettering.net
Wed Apr 25 09:10:54 UTC 2018


On Mi, 25.04.18 07:48, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:

> > [    6.291607] f28h.local systemd[715]: Followed symlinks /efi → /efi.
> > [    6.291643] f28h.local systemd[715]: Applying namespace mount on /efi
> > [    6.291671] f28h.local systemd[715]: Successfully mounted /efi to /efi
> > [    6.294820] f28h.local systemd[715]: Remounted /efi read-only.
> > [    6.314602] f28h.local systemd[715]: Remounted /sys/firmware/efi/efivars
> > read-only.
> 
> It looks like /efi does get mounted. What mounted it?

That's misleading I figure. That message is probably caused by
ProtectSystem=yes or ProtectSystem=full being set for some system
service. In that case systemd will mount /efi and /boot read-only for
the specific service, but leave / writable. And for that to work it
synthesizes a bind mount point for /efi and /boot within the service's
mount namespace, the logging about which you see above. It hence
doesn't mean /efi or /boot is a mount point on the host.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list