Bug#783990: efivarfs is a separate fs and needs moutning

The Wanderer wanderer at fastmail.fm
Fri Jul 16 17:44:54 BST 2021


On 2021-07-16 at 12:06, Ian Jackson wrote:

> Control: tags -1 + patch

> Here you go, in diff format and also a file you can just run.  I 
> haven't rebooted with it (yet), but I did manually unmount the
> efivars subdir and verify that the new mountkernfs script remounts
> it.

I've just rebooted, with this in place as /etc/init.d/mountkernfs.sh. (I
kept the original around as a renamed file in the same directory.)

The boot-time messages - which, unexpectedly and a bit bizarrely, don't
seem to be logged anywhere that I'm managing to find - include with the
following four lines (transcribed from a photograph taken before
launching X), at what appears to be the beginning of the boot process:

>> INIT: version 2.96 booting
>> Using makefile-style concurrent boot in runlevel S.
>> Filesystem type 'efivarfs' is not supported. Skipping mount. ... (warning).
>> Starting hotplug events dispatcher: systemd-udevd.

Where the string "(warning)." is in orange, rather than the usual
whitish gray.

/sys/firmware/efi/efivars/ exists and is populated just as on the
previous boot, so this didn't break anything, but it also doesn't seem
as if it would have helped if that directory hadn't been mounted for
other reasons.


I notice that the line

>>> Registered efivars operations

appears in the output of 'dmesg', as well as being present (with similar
context) in /var/log/messages* and /var/log/syslog* from at least the
past several boots; if the context would be helpful in figuring out
when/where/how/by-what this is being mounted, I can share the
surrounding lines, or even potentially the entire output if that's
considered potentially safe.

I'm also willing to consider other steps to track down what's making
this work for me, if people care to suggest them. (Unpacking and
analyzing the initrd might well be useful, but is more than I'm
interested in undertaking just at the moment, although I can probably do
it at some point if necessary.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20210716/6245bb81/attachment-0001.sig>


More information about the Debian-init-diversity mailing list