Bug 466667

Summary: cjkunifont install packages in inexistent directory
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: cjkunifontsAssignee: Caius Chance <K9>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 10CC: behdad, fonts-bugs, K9, petersen
Target Milestone: ---Keywords: i18n, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-07 04:20:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nicolas Mailhot 2008-10-12 15:10:26 UTC
cjkunifont 0_2_20080216_1-4_fc10 has been changed to install files in /etc/fonts/conf.avail, deviating from our official packaging guidelines
http://fedoraproject.org/wiki/Packaging/FontsSpecTemplate

As a result it may now install files in an unowned directory, with all the associated problems, since /etc/fonts/conf.avail is not referenced in our guidelines and not provided by filesystem like /etc/fonts/conf.d

Moreover /etc/fonts/conf.avail is hosting file templates which are not modifiable, and should be moved to /usr/share to respect the FHS. Any packager that will follow this unfortunate example will now make rpmlint complain. So upholding this pattern would require modifying rpmlint too.

This is all a big mess.

All those problems would have been identified had the deviation from guidelines been properly discussed on the fonts list beforehand. Please do not deviate from guidelines in the future without public discussion.

Since I'm a nice guy, I've posted a guidelines change request here
http://fedoraproject.org/wiki/PackagingDrafts/Fonts_spec_template_correction_(fontconfig)

Please participate in this guideline change discussion now and abide *strictly* by FPC's ultimate decision.

Comment 1 Jens Petersen 2008-10-13 02:53:24 UTC
(Ok, sorry this probably my fault since I suggested it: I thought conf.avail was in common use.)

Comment 2 Caius Chance 2008-10-13 05:54:58 UTC
Thanks Nicolas and Jens,

Reverted: http://koji.fedoraproject.org/koji/buildinfo?buildID=66127

Comment 3 Nicolas Mailhot 2008-10-13 06:19:23 UTC
(In reply to comment #1)
> (Ok, sorry this probably my fault since I suggested it: I thought conf.avail
> was in common use.)

It's not in Fedora for various reasons.
But let that not stop you from participating to the guideline change review

Comment 4 Jens Petersen 2008-10-29 00:54:32 UTC
cjkunifonts-0.2.20080216.1-8.fc10 still has conf.avail:

http://koji.fedoraproject.org/koji/buildinfo?buildID=66127 (build)
http://koji.fedoraproject.org/koji/rpminfo?rpmID=792449 (uming info)
http://koji.fedoraproject.org/koji/rpminfo?rpmID=792450 (ukai info)

Comment 6 Caius Chance 2008-10-29 01:56:12 UTC
Built on rawhide (dist-f11), but need to clone to f10, too.

Comment 7 Caius Chance 2008-10-29 02:01:24 UTC
Keep opened as f10 is not selectable in bz yet.

Comment 8 Bug Zapper 2008-11-26 03:48:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 9 Fedora Update System 2008-12-01 05:41:47 UTC
cjkunifonts-0.2.20080216.1-9.2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/cjkunifonts-0.2.20080216.1-9.2.fc10

Comment 10 Caius Chance 2008-12-01 05:43:05 UTC
http://koji.fedoraproject.org/koji/taskinfo?taskID=965107

This bug ticket will be closed when pushed to f10 update.

Comment 11 Fedora Update System 2008-12-03 01:11:36 UTC
cjkunifonts-0.2.20080216.1-9.2.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cjkunifonts'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-10504

Comment 12 Fedora Update System 2008-12-07 04:20:49 UTC
cjkunifonts-0.2.20080216.1-9.2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.