Bug#783990: efivarfs is a separate fs and needs moutning
The Wanderer
wanderer at fastmail.fm
Fri Jul 16 19:31:40 BST 2021
On 2021-07-16 at 13:36, Ian Jackson wrote:
> The Wanderer writes ("Re: Bug#783990: efivarfs is a separate fs and
> needs moutning"):
>
>> Wouldn't testing the existence of
>>
>> /lib/modules/`uname -r`/kernel/fs/efivarfs/efivarfs.ko
>>
>> be enough, and probably more reliable?
>
> I'm doubt very much it would be more reliable. What if the kernel
> reorganises its modules ?
That possibility hadn't even occurred to me, but now that you point it
out, I drop this suggestion.
>> (I'm assuming that the test which skips because "fstype not
>> available" comes before the one which skips because "already
>> mounted", and that's why I saw the warning even though it seems to
>> be up and working on my machine.)
>
> Yes, the tests are indeed in that order. I think you have it
> mounted now because of the apparmor fixup you found.
I was initially not sure that was going to be relevant after all,
because I was expecting AppArmor to be a thing that has to be constantly
running in order to be effective, and there's no such process visible
that I can see - but apparmor shows up in dmesg, et cetera, so I must
have been expecting wrong.
> The change to mountkernfs was ineffective on your system for the same
> reason it was ineffective on mine, but the apparmor workaround means
> you don't see the effects since apparmor has got it mounted by the
> time you log in.
Makes perfect sense.
>> I need to do some other things for a while, so I won't be
>> rebooting again immediately, but I'll probably test this sometime
>> this afternoon.
>>
>>
>> My current biggest concern about this is:
>>
>> --
>
> No objections then ? :-) (I think you may have missed a bit...)
Heh. That line was a leftover of when I was going to raise the question
of why the "fstype not available" test was even being reached, given the
"already mounted" test, before I realized that it must be simply a
matter of test order.
--
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/ef8b6159/attachment-0001.sig>
More information about the Debian-init-diversity
mailing list