Bug 1761885

Summary: Drop unused .uuid files
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: fontconfigAssignee: Akira TAGOH <tagoh>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: ajax, caillon+fedoraproject, fonts-bugs, gnome-sig, i18n-bugs, mclasen, nicolas.mailhot, paul, pnemade, redhat-bugzilla, rhughes, roshan.shariff, rstrode, sandmann, tagoh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fontconfig rpm reinstallation log none

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.