Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-08-22 Thread Pascal Hambourg
On 13/07/2023 at 08:54, Arnaud Rebillout wrote: Following up with that, it seems that the failure is due to a change in the kernel. I'm testing 2 Kali netinst ISOs, one from last week (no problem), and a daily iso from today (which fails). Last weekly iso had kernel 6.1.0-kali9-amd64. In

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-08-21 Thread Pascal Hambourg
On 21/08/2023 at 11:56, Arnaud Rebillout wrote: On 21/08/2023 04:03, Philip Hands wrote: If you want to do your own tests, the mini.iso can be downloaded via:

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-08-21 Thread Arnaud Rebillout
On 21/08/2023 04:03, Philip Hands wrote: If you want to do your own tests, the mini.iso can be downloaded via: https://salsa.debian.org/philh/grub-installer/-/jobs/4582667/artifacts/file/debian/output/debian-202306XX+salsaci+20230820+228-amd64-gtkmini.iso Hello, I download it and tested it in

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-08-20 Thread Philip Hands
Philip Hands writes: ... > However, I am now wondering whether we might not be better off using > `archdetect` to see if we're on an efi system, and then make the attempt > to call mountvirtfs for the efivarfs conditional on that. After a diversion[1], I had a look at the archdetect option, and

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-07-30 Thread Philip Hands
Arnaud Rebillout writes: > Tentative fix, for what it's worth: > > https://salsa.debian.org/installer-team/grub-installer/-/merge_requests/19 The original code there seems a bit tangled, and the need to check for efivarfs in two places seemed suboptimal, so here's an attempt to improve on it,

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-07-13 Thread Arnaud Rebillout
Tentative fix, for what it's worth: https://salsa.debian.org/installer-team/grub-installer/-/merge_requests/19 -- Arnaud Rebillout / OffSec / Kali Linux Developer

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-07-13 Thread Arnaud Rebillout
Following up with that, it seems that the failure is due to a change in the kernel. I'm testing 2 Kali netinst ISOs, one from last week (no problem), and a daily iso from today (which fails). Last weekly iso had kernel 6.1.0-kali9-amd64. In this iso, `cat /proc/filesystems | grep efi` gives

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-07-12 Thread Arnaud Rebillout
On 12/07/2023 21:57, Roland Clobus wrote: This looks to be very similar that I reported in the first part of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039710 On BIOS-boots the EFI /sys mount is not present. I've read #1039710, I can confirm about the syslog issue, /var/log/syslog

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-07-12 Thread Roland Clobus
Control: affects 1039710 grub-installer Hello Arnaud, This looks to be very similar that I reported in the first part of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039710 On BIOS-boots the EFI /sys mount is not present. With kind regards, Roland Clobus On 12/07/2023 16:30, Arnaud

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-07-12 Thread Arnaud Rebillout
Hello, I'm testing a Kali Linux mini.iso, in a BIOS virtual machine. Kali uses the grub-installer package from Debian, no change and it's up-to-date. The postinst still fails at this point. The error can be reproduced from the console:   mkdir -p /target/sys/firmware/efi/efivars   mkdir:

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-02-13 Thread Emanuele Rocca
control: tag -1 patch On Sun, Feb 12, 2023 at 09:46:34PM +0100, Emanuele Rocca wrote: > I'm unsure as to what the best course of action is here, but perhaps an idea > is > to avoid calling "die" when mount fails for efivarfs, and log an error to > /var/log/syslog instead? Of course the relevant

Bug#1031183: grub-installer: postinst fails if efivarfs cannot be mounted

2023-02-12 Thread Emanuele Rocca
Package: grub-installer Version: 1.186 Severity: important Hi, On systems where efivarfs cannot be mounted, the grub installation step fails even though it would have otherwise worked just fine skipping the mount efivarfs command, i.e. system installation is successful with this preseed file: