Package: refind
Version: 0.11.2-1.1
Severity: important

Hi,

to minimize the risk of /boot/efi getting corrupted (being FAT32 and
all), I use the following fstab entry:
UUID=ABCD-1234  /boot/efi       vfat    
umask=0077,x-systemd.automount,x-systemd.idle-timeout=60      0       1

This ensures, /boot/efi is automounted (by systemd) whenever accessed
and unmounted after 60s idle timeout.
findmnt output looks like this:

# findmnt /boot/efi
TARGET    SOURCE    FSTYPE OPTIONS
/boot/efi systemd-1 autofs 
rw,relatime,fd=31,pgrp=1,timeout=60,minproto=5,maxproto=5,direct,pipe_ino=12788
/boot/efi /dev/sda2 vfat   
rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro


When running refind-install, the generated efi boot entry is incorrect:

# efibootmgr -v | grep refind
Boot001C* rEFInd Boot Manager   
HD(12,GPT,00000000-0000-0000-0000-000000000000,0x0,0x1)/File(\EFI\refind\refind_x64.efi)

Notice how the GPT UUID is all set to '0'.

When mounting /boot/efi directly, the partition uuid is correctly set.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages refind depends on:
ii  debconf [debconf-2.0]  1.5.69
ii  efibootmgr             15-1
ii  openssl                1.1.1-1
ii  parted                 3.2-21+b1

Versions of packages refind recommends:
ii  python3     3.6.6-1
ii  sbsigntool  0.6-3.2

refind suggests no packages.


-- debconf information:
* refind/install_to_esp: true

Reply via email to