Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1167445 - glibc-common owns directories already owned by "filesystem"
Summary: glibc-common owns directories already owned by "filesystem"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-24 19:40 UTC by Mario Blättermann
Modified: 2016-11-24 12:25 UTC (History)
7 users (show)

Fixed In Version: glibc-2.20-7.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-11 02:59:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mario Blättermann 2014-11-24 19:40:16 UTC
Description of problem:

The -common subpackage owns the directories and almost the whole path containing the libc.mo files.
 
/usr/share/locale
/usr/share/locale/be
/usr/share/locale/be/LC_MESSAGES
/usr/share/locale/be/LC_MESSAGES/libc.mo
/usr/share/locale/bg
/usr/share/locale/bg/LC_MESSAGES
/usr/share/locale/bg/LC_MESSAGES/libc.mo
/usr/share/locale/ca
/usr/share/locale/ca/LC_MESSAGES
/usr/share/locale/ca/LC_MESSAGES/libc.mo
/usr/share/locale/cs
/usr/share/locale/cs/LC_MESSAGES
/usr/share/locale/cs/LC_MESSAGES/libc.mo
/usr/share/locale/da
/usr/share/locale/da/LC_MESSAGES
/usr/share/locale/da/LC_MESSAGES/libc.mo
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/libc.mo
[truncated]

Version-Release number of selected component (if applicable):
2.20-5.fc21

All these path components are already owned by the "filesystem" package. Just drop the creation of all the directories and "Requires: filesystem", that's all.

Moreover, to install the mo files correctly, you need to use the %find_lang macro. Have a look at our packaging guidelines how to use it:
http://fedoraproject.org/wiki/Packaging:Guidelines#Handling_Locale_Files

Comment 1 Siddhesh Poyarekar 2014-12-05 13:22:42 UTC
I've pushed a fix to rawhide.  Please test 2.20.90-12 when it is done.  I've verified that it does not brick my x86_64 vm and the directories are no longer owned by glibc.

Comment 2 Mario Blättermann 2014-12-05 19:08:54 UTC
Ok, I haven't tested the package itself, but spec file and file list with "rpm -qpl" are OK. What do you think, is it safe to backport this change to f21?

Comment 3 Siddhesh Poyarekar 2014-12-06 03:56:15 UTC
I don't mind doing it after GA.

Comment 4 Mario Blättermann 2015-01-03 23:15:14 UTC
Any news about applying the fix to the f21 package...?

Comment 5 Fedora Update System 2015-01-06 17:36:53 UTC
glibc-2.20-7.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/glibc-2.20-7.fc21

Comment 6 Siddhesh Poyarekar 2015-01-07 10:49:05 UTC
Please test and give karma.

Comment 7 Mario Blättermann 2015-01-07 20:36:44 UTC
(In reply to Siddhesh Poyarekar from comment #6)
> Please test and give karma.

Done. Works for me so far.

Comment 8 Fedora Update System 2015-01-07 23:55:23 UTC
Package glibc-2.20-7.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing glibc-2.20-7.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0365/glibc-2.20-7.fc21
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2015-01-11 02:59:58 UTC
glibc-2.20-7.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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