Bug#783990: initscripts: mount efivars directory during boot when using sysvinit

Dmitry Bogatov KAction at debian.org
Thu Jul 25 20:07:40 BST 2019


control: tags -1 +moreinfo

[ Sorry for late response ]

[2015-05-01 20:52] "Pearson, Greg" <greg.pearson at hp.com>
> Package: initscripts
> Version: 2.88dsf-59
> Severity: normal
>
> # uname -a
> Linux sa1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24)
> x86_64 GNU/Linux
>
> I installed Debian on a HP ProLiant DL580Gen9 system in UEFI mode using
> "debian-8.0.0-amd64-DVD-1.iso". After the installation finished I
> installed the sysvinit-core package (2.88dsf-59) and rebooted the
> system. This replaces systemd with sysvinit. I then checked if the
> directory /sys/firmware/efi/efivars was mounted and it was not. It seems
> like a good idea to have this directory automounted on boot so EFI tools
> use the new interface to access EFI variables.
>
> One possible solution would be to add the following to
> /etc/init.d/mountkernfs.sh which is delivered by the initscripts package:
>
>     if [ -d /sys/firmware/efi/efivars ]
>     then
>         domount "$MNTMODE" efivarfs "" /sys/firmware/efi/efivars efivarfs ""
>     fi

Hi. As I see on my system, /sys/firmware/efi is now part of /sys:

	$ ls /sys/firmware/efi/
	config_table
	efivars
	fw_platform_size
	fw_vendor
	runtime
	runtime-map
	systab
	vars
	$ mount | grep efi
	/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)

Am I missing something?
-- 
Note, that I send and fetch email in batch, once in a few days.
Please, mention in body of your reply when you add or remove recepients.




More information about the Debian-init-diversity mailing list