Bug 22182 - grub.mo dangling link
Summary: grub.mo dangling link
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Barry Jackson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-12 14:11 CET by Bit Twister
Modified: 2017-12-14 00:03 CET (History)
2 users (show)

See Also:
Source RPM: grub2-2.02.0-2.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Bit Twister 2017-12-12 14:11:00 CET
Description of problem:mga7 dev0

dangling link: 
/usr/share/locale/en/LC_MESSAGES/grub.mo -> ../../../../../usr/share/locale/en@quot/LC_MESSAGES/grub.mo 



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


How reproducible:


Steps to Reproduce:
1. clean mga6+updates.
2. change media to cauldron
3. install updates.
Comment 1 Bit Twister 2017-12-12 14:12:24 CET
(In reply to Bit Twister from comment #0)
> Description of problem:mga7 dev0
> 
> dangling link: 
> /usr/share/locale/en/LC_MESSAGES/grub.mo ->
> ../../../../../usr/share/locale/en@quot/LC_MESSAGES/grub.mo 
> 
> 
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible:
> 
> 
> Steps to Reproduce:
> 1. clean mga6+updates.
> 2. change media to cauldron

3. apply all updates, then run
4. symlinks -r / | grep dangling
Comment 2 Marja Van Waes 2017-12-13 06:23:19 CET
Assigning to the not-registered maintainer.

CC'ing all packagers collectively, since there is no registered maintainer for this package.

CC: (none) => marja11, pkg-bugs
Assignee: bugsquad => zen25000

Comment 3 Barry Jackson 2017-12-13 16:55:27 CET
I am struggling to understand what is happening here.

The link target usr/share/locale/en@quot/LC_MESSAGES/grub.mo IS in the grub2-common package, but seems not to be installed with no error. It was OK in Mga6.

The symlink is/was needed as a workaround for https://bugzilla.redhat.com/show_bug.cgi?id=817187 from 2012.

What is more disturbing is that grub2-install is not writing anything to /boot/grub2/locale. Maybe it does for other than en - can anyone check in Cauldron?
Comment 4 Barry Jackson 2017-12-13 21:30:23 CET
OK I fixed it.

It looks like a change/bug in rpm that will not handle the symlink - I have copied the file pre-install instead and it now works OK.

The missing /boot/grub/locale/en.mo is now installed correctly.

Well spotted Bit_Twister :)

Please test when grub2-2.02.0-2 hits the mirrors.
Comment 5 Barry Jackson 2017-12-14 00:03:37 CET
Make that grub2-2.02.0-3

Closing.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


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