Bug 230920 - Update creates unusable xfs config
Update creates unusable xfs config
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: chkfontpath (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Kristian Høgsberg
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-04 13:48 EST by Pete Zaitcev
Modified: 2008-03-26 12:22 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-03-26 12:22:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Broken config after update (1.02 KB, text/plain)
2007-03-04 13:48 EST, Pete Zaitcev
no flags Details

  None (edit)
Description Pete Zaitcev 2007-03-04 13:48:32 EST
Description of problem:

After running "yum update", xfs configuration was ruined. Presumably
fonts-japanese added ":unscaled". Current xfs stops working if it
encounters ":unscaled".

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

fonts-japanese-0.20061016-3.fc7
xorg-x11-xfs-1.0.2-3.1

How reproducible:

Unclear...

Steps to Reproduce:
0. Use a config like the attached
1. Update from a previous verion of fonts-japanese
  
Actual results:

Duplicate entries for font paths, ":unscaled" is present.

Expected results:

No ":unscaled".

Additional info:

The xfs starts and seems to work, but X aborts with ``unable to open
font "cursor"''.
Comment 1 Pete Zaitcev 2007-03-04 13:48:32 EST
Created attachment 149213 [details]
Broken config after update
Comment 2 Akira TAGOH 2007-03-05 06:15:08 EST
You've missed comma after line 17. BTW :unscaled is automatically added by
chkfontpath though, have you modifed your xfs config file by the hand? I'm quite
not sure why it happened anyway.
Comment 3 Akira TAGOH 2007-03-05 06:16:42 EST
s/it/missing :unscaled for 75dpi and 100dpi as well/
Comment 4 Pete Zaitcev 2007-03-05 12:43:17 EST
I see. The "unscaled:" was not relevant. The font "cursor" got missing
because of the missing comma.

I do not edit anything by hand as a rule. I think that some other program
modifying the configuration made the paths flush with the left side at
some point. Then, the post-installation of fonts-japanese was confused
by that.
Comment 5 Akira TAGOH 2007-03-05 20:53:14 EST
Hmm, then there are nothing else I can do on fonts-japanese. adding the font
path into xfs config really relies on chkfontpath and have never done any
special there.
Should I reassign this to chkfontpath? or what exactly is "some other program"?
Comment 6 Pete Zaitcev 2007-03-05 21:12:47 EST
Yes, please reassign as appropriate. I'm wholly ignorant about what program
actually edits the file.
Comment 7 Akira TAGOH 2007-03-06 21:01:50 EST
Ok. if you can provide any info when it happened and what packages were updated,
it would be helpful. AFAIK chkfontpath is only one to update xfs's config file
as the program. so I'm reassigning this to chkfontpath so far.
Comment 8 Kristian Høgsberg 2008-03-26 12:22:43 EDT
We no longer use chkfontpath or xfs, font packages are now required to drop
symlinks in fontpath.d.  Which fonts-japanese does, so I'm closing this.  Thanks
to everybody involved ;)

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