bugGNU GRUB - Bugs: bug #49942, EFI: grub-install may fail if...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #49942: EFI: grub-install may fail if /boot/efi is managed by autofs

Submitted by:  felix <felix_s>
Submitted on:  Wed 28 Dec 2016 12:02:20 AM UTC  
 
Category: InstallationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Git masterReproducibility: None
Planned Release: 2.02

Tue 24 Jan 2017 05:07:56 PM UTC, comment #5:

Should be fixed in a2932fbe8a602f3abd7c9b97004a31dc1a384639.

Andrei Borzenkov <arvidjaar>
Project Member
Thu 19 Jan 2017 12:20:42 PM UTC, comment #4:

The ML patch seems to work, modulo bug #50093.

felix <felix_s>
Wed 18 Jan 2017 04:24:31 AM UTC, comment #3:

It turned out to be less trivial than I hoped due to the fact that stat() does not trigger automount with Linux autofs. I think I have found workaround, will post later patch to list for review.

We need this to be fixed in 2.02 as systemd now defaults to automounting ESP.

Andrei Borzenkov <arvidjaar>
Project Member
Tue 17 Jan 2017 02:54:06 PM UTC, comment #2:

Yes, but it doesn't mount the file system unless I add something more.

`ls -ld /boot/efi` mounts; `stat /boot/efi` doesn't.

felix <felix_s>
Wed 28 Dec 2016 03:39:53 AM UTC, comment #1:

Does "realpath /boot/efi" work in such case (i.e. when it is not yet mounted)?

Andrei Borzenkov <arvidjaar>
Project Member
Wed 28 Dec 2016 12:02:20 AM UTC, original submission:

On my system, I have systemd managing my mount points using autofs. If by the time I run grub-install the /boot/efi partition hasn't been properly mounted, the installer may fail with the following quite cryptic message, which even the --verbose flag doesn't clear up:

felix <felix_s>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by felix_s (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 24 Jan 2017 05:07:56 PM UTCarvidjaarStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 18 Jan 2017 04:24:31 AM UTCarvidjaarPlanned ReleaseNone=>2.02

    Back to the top


    Powered by Savane 3.1-cleanup1