Bug 1761885 - Drop unused .uuid files
Summary: Drop unused .uuid files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-15 13:54 UTC by Mamoru TASAKA
Modified: 2024-02-25 01:25 UTC (History)
15 users (show)

Fixed In Version: fontconfig-2.15.0-4.fc40 fontconfig-2.14.2-6.fc39 fontconfig-2.14.2-2.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-02-09 19:24:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
fontconfig rpm reinstallation log (82.29 KB, text/plain)
2019-10-18 13:43 UTC, Mamoru TASAKA
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1564432 0 high CLOSED Mismatches in %ghost file modes 2024-03-25 15:03:40 UTC

Description Mamoru TASAKA 2019-10-15 13:54:53 UTC
Description of problem:

rpm -Va complains a lot about mode of %ghost .uuid files:

.M.......  g /usr/share/fonts/paktype-naqsh/.uuid
.M.......  g /usr/share/fonts/lilypond/.uuid
.M.......  g /usr/share/fonts/sil-padauk/.uuid
.M.......  g /usr/share/fonts/google-droid/.uuid
.M.......  g /usr/share/fonts/lilypond/.uuid
.M.......  g /usr/share/fonts/smc-suruma/.uuid
.M.......  g /usr/share/fonts/google-android-emoji/.uuid
.M.......  g /usr/share/fonts/google-crosextra-carlito/.uuid
.M.......  g /usr/share/fonts/lohit-assamese/.uuid
.M.......  g /usr/share/fonts/dejavu/.uuid
.M.......  g /usr/share/fonts/lohit-telugu/.uuid
.M.......  g /usr/share/fonts/lilypond/.uuid
.....

Looks like fontpackages-devel template rpmmacro creates .uuid which %ghost %atttr(0000) 
e.g.
[root@localhost ~]# rpm -qf /usr/share/fonts/google-droid/.uuid
google-droid-sans-fonts-20120715-16.fc31.noarch
[root@localhost ~]# rpm -qlv google-droid-sans-fonts | grep uuid
----------    1 root     root   0  7月 25 23:03 /usr/share/fonts/google-droid/.uuid

ref:
https://src.fedoraproject.org/rpms/fontpackages/blob/master/f/fontpackages-add-ghost-uuid.patch

but I guess %transfiletriggerin script by fontconfig creates .uuid as 0755 permission (perhaps)


Version-Release number of selected component (if applicable):
fontpackages-filesystem-1.44-25.fc31.noarch
fontconfig-2.13.92-3.fc31.x86_64
fontconfig-2.13.92-3.fc31.i686
google-droid-sans-fonts-20120715-16.fc31.noarch


How reproducible:
100%

Steps to Reproduce:
1. See above, try $ rpm -Va
2.
3.

Actual results:
See above, lots of .uuid permission complaint

Expected results:
No complaint by rpm -Va

Additional info:

Comment 1 Mamoru TASAKA 2019-10-15 13:55:34 UTC
Assigning to Tagoh for now.

Comment 2 Mamoru TASAKA 2019-10-15 13:57:52 UTC
Also affects F-31.

Comment 3 Mamoru TASAKA 2019-10-15 13:59:36 UTC
Oh, not 0755 but 0644 permission.

Comment 4 Akira TAGOH 2019-10-18 11:03:48 UTC
.uuid isn't used anymore. if you still see them on your system, all of them should be gone once running fc-cache is done. I guess, to fix this, we need to fix fontpackages and rebuild all of fonts packages to remove that metadata from rpm though, is it what you are expecting here?

Comment 5 Mamoru TASAKA 2019-10-18 13:43:26 UTC
Created attachment 1627198 [details]
fontconfig rpm reinstallation log

> if you still see them on your system, all of them 
> should be gone once running fc-cache is done.

This is not true. After I reinstall fontconfig-2.13.92-3.fc31.x86_64 (which calls fc-cache -f after transaction as attached), .uuid files are there undeleted (as attached).

And - the recommended fix can depend on what fc-cache does currently with regards to .uuid files, so pending the reply.

Comment 6 Ben Cotton 2020-02-11 17:51:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 7 Akira TAGOH 2021-01-25 06:30:45 UTC
Moving this to fontconfig to drop the unused .uuid files from filesystem.

Comment 8 Ben Cotton 2021-02-09 15:12:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 9 Jens Petersen 2021-06-13 16:56:28 UTC
I am not seeing this on my Fedora 34 systems?

What am I missing?  Because no fonts updated yet?

Comment 10 Akira TAGOH 2021-06-25 03:37:49 UTC
Only happens on upgraded systems.

Comment 11 Ben Cotton 2022-05-12 16:36:43 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
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
'version' of '34'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 12 Ben Cotton 2022-11-29 16:46:53 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
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
'version' of '35'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 13 Ben Cotton 2023-02-07 14:51:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 14 Fedora Update System 2024-02-09 17:36:16 UTC
FEDORA-2024-37ee0d4fe8 (fontconfig-2.15.0-4.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-37ee0d4fe8

Comment 15 Fedora Update System 2024-02-09 18:54:43 UTC
FEDORA-2024-8557971b03 (fontconfig-2.14.2-6.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8557971b03

Comment 16 Fedora Update System 2024-02-09 18:54:45 UTC
FEDORA-2024-2f93f58264 (fontconfig-2.14.2-2.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-2f93f58264

Comment 17 Fedora Update System 2024-02-09 19:24:05 UTC
FEDORA-2024-37ee0d4fe8 (fontconfig-2.15.0-4.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2024-02-10 03:56:23 UTC
FEDORA-2024-2f93f58264 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-2f93f58264`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2f93f58264

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2024-02-11 08:08:08 UTC
FEDORA-2024-8557971b03 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8557971b03`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8557971b03

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2024-02-17 00:57:37 UTC
FEDORA-2024-8557971b03 (fontconfig-2.14.2-6.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2024-02-25 01:25:09 UTC
FEDORA-2024-2f93f58264 (fontconfig-2.14.2-2.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, 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.