Bug 1404446 - /etc/grub2-efi.cfg: broken symbolic link to ../boot/efi/EFI/fedora/grub.cfg
Summary: /etc/grub2-efi.cfg: broken symbolic link to ../boot/efi/EFI/fedora/grub.cfg
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Javier Martinez Canillas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 21:32 UTC by John Dodson
Modified: 2021-05-25 14:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-25 14:57:08 UTC
Type: Bug


Attachments (Terms of Use)

Description John Dodson 2016-12-13 21:32:37 UTC
Description of problem:
/etc/grub2-efi.cfg: broken symbolic link to ../boot/efi/EFI/fedora/grub.cfg

Version-Release number of selected component (if applicable):

grub2-efi-2.02-0.38.fc24.x86_64

How reproducible:
always (recently)

Steps to Reproduce:
1. ls -l /etc/grub2-efi.cfg
2. file /etc/grub2-efi.cfg
3.

Actual results:

/etc/grub2-efi.cfg: broken symbolic link to ../boot/efi/EFI/fedora/grub.cfg

Expected results:
There should be no broken symlinks

Additional info:

Comment 1 Fedora End Of Life 2017-07-26 00:04:57 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2017-08-08 19:26:36 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 3 John Dodson 2019-12-23 04:38:53 UTC
Can we please implement appropriate control of symlinks

Comment 4 John Dodson 2019-12-23 04:39:45 UTC
/etc/grub2-efi.cfg: broken symbolic link to ../boot/efi/EFI/fedora/grub.cfg
grub2-efi-x64-2.02-104.fc31.x86_64

Comment 5 Javier Martinez Canillas 2020-01-15 15:38:02 UTC
(In reply to John Dodson from comment #4)
> /etc/grub2-efi.cfg: broken symbolic link to ../boot/efi/EFI/fedora/grub.cfg
> grub2-efi-x64-2.02-104.fc31.x86_64

Did you try to follow the symlink as root?

The problem is that it links to a file that's in the EFI System Partition (mounted in /boot/efi) and only root has access to it.

$ file /etc/grub2-efi.cfg
/etc/grub2-efi.cfg: broken symbolic link to ../boot/efi/EFI/fedora/grub.cfg

$ sudo file /etc/grub2-efi.cfg
/etc/grub2-efi.cfg: symbolic link to ../boot/efi/EFI/fedora/grub.cfg

Comment 6 John Dodson 2020-01-23 01:20:25 UTC
yes - I was root at the time of the above commands.
The target file is not there.

So the symlink created by grub2-efi-x64-2.02-104.fc31.x86_64 is broken.

What package should maintain the /boot/efi/EFI/fedora/grub.cfg file?

Comment 7 Javier Martinez Canillas 2020-01-27 13:30:22 UTC
(In reply to John Dodson from comment #6)
> yes - I was root at the time of the above commands.
> The target file is not there.
> 
> So the symlink created by grub2-efi-x64-2.02-104.fc31.x86_64 is broken.

If the symlink points to /boot/efi/EFI/fedora/grub.cfg then it's correct.

> 
> What package should maintain the /boot/efi/EFI/fedora/grub.cfg file?

It's a %ghost file for the grub2-efi-x64 package since it's created by Anaconda during installation.

You can re-generate the file with 'grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg'

Comment 8 John Dodson 2020-02-08 23:14:47 UTC
Ok, I have recreated it.
But long ago when this machine was originally installed the EFI
stuff was not there. ie. Anaconda did not install it then (2013 & 2015
for another machine)

So is there still a problem of inappropriate management of a symlink?

Such that a symlink should be maintained by the package responsible for the "target"
obviously that's not perhaps easy for age old Anaconda's! But...

Comment 9 Ben Cotton 2020-11-03 14:58:05 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 John Dodson 2020-11-03 22:16:12 UTC
Changed to FC32

Comment 11 Fedora Program Management 2021-04-29 15:52:52 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Fedora Admin user for bugzilla script actions 2021-05-07 00:35:33 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 13 Ben Cotton 2021-05-25 14:57:08 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.