Bug#906216: fwupd: ESP filesystem detection code does not like autofs
Forwarded upstream here
https://github.com/hughsie/fwupd/issues/660
Please subscribe and comment as necessary.
> -----Original Message-----
> From: Sam Morris [mailto:sam@robots.org.uk]
> Sent: Wednesday, August 15, 2018 9:56 AM
> To: Debian Bug Tracking System
> Subject: Bug#906216: fwupd: ESP filesystem detection code does not like autofs
>
> Package: fwupd
> Version: 1.1.1-1
> Severity: normal
>
> My ESP is mounted via autofs so that it's unmounted when not in use:
>
> $ grep /boot/efi /etc/fstab
> PARTLABEL=joyeux-esp /boot/efi vfat umask=0077,x-systemd.automount,x-
> systemd.idle-timeout=10 0 2
>
> This leads to:
>
> # /usr/lib/fwupd/fwupdate --info
> Unable to determine EFI system partition location, override using --esp-path
>
> # /usr/lib/fwupd/fwupdate --info --esp-path /boot/efi
> ESP specified was not valid: /boot/efi has an invalid type, expected
> vfat|ntfs|exfat
>
> fwupd seems to be looking through existing mounts for one of the correct
> type, which won't work where the ESP is mounted via autofs, since it's
> not mounted yet...
>
> -- System Information:
> Debian Release: buster/sid
> APT prefers testing-debug
> APT policy: (570, 'testing-debug'), (570, 'testing'), (540, 'unstable-debug'), (540,
> 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages fwupd depends on:
> ii libappstream-glib8 0.7.10-1
> ii libarchive13 3.2.2-4.1
> ii libc6 2.27-5
> ii libefiboot1 34-1
> ii libefivar1 34-1
> ii libelf1 0.170-0.5
> ii libfwupd2 1.1.1-1
> ii libgcab-1.0-0 1.1-3
> ii libglib2.0-0 2.56.1-2
> ii libgnutls30 3.5.19-1
> ii libgpg-error0 1.32-1
> ii libgpgme11 1.11.1-1
> ii libgudev-1.0-0 232-2
> ii libgusb2 0.2.11-1
> ii libjson-glib-1.0-0 1.4.2-4
> ii libpolkit-gobject-1-0 0.105-21
> ii libsmbios-c2 2.4.1-1
> ii libsoup2.4-1 2.62.2-2
> ii libsqlite3-0 3.24.0-1
> ii libuuid1 2.32.1-0.1
>
> Versions of packages fwupd recommends:
> pn fwupd-signed <none>
> ii python3 3.6.5-3
>
> fwupd suggests no packages.
>
> -- Configuration Files:
> /etc/fwupd/uefi.conf changed:
> [uefi]
> OverrideESPMountPoint=/boot/efi
>
>
> -- no debconf information
Reply to: