Bug 530548

Summary: ghostscript-fonts which is required by ghostscript is not installed by anaconda.
Product: Red Hat Enterprise Linux 5 Reporter: Masahiro Matsuya <mmatsuya>
Component: anacondaAssignee: Martin Gracik <mgracik>
Status: CLOSED ERRATA QA Contact: Alexander Todorov <atodorov>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4CC: atodorov, borgan, ddumas, dmach, herrold, syeghiay, tao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-11.1.2.198 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 08:02:10 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:
Attachments:
Description Flags
proposed patch none

Description Masahiro Matsuya 2009-10-23 12:05:37 UTC
Description of problem:

When 'printing' package group is specified, ghostscript is installed, but ghostscript-fonts is not installed.

The cause is that these are in the whiteout list of whiteout.py as below.

-----------------------------------------
whiteout="""
      ...
      ghostscript-fonts>ghostscript   \
-----------------------------------------

This means that when ghostscript-fonts requires ghostscript, ghostsciprt is installed. But, when ghostscript requires ghostscript-fonts, it is ignored.

Can you reverse the order of ghostscript and ghostscript-fonts?

If those are reversed, when ghostscript requires ghostscript-fonts, ghostsciprt-fonts is installed. 


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

This customer met this issue on RHEL5.3. But, I could reproduce this issue with RHEL5.4.

How reproducible:

Always


Steps to Reproduce:
1. install with the package group 'printing'
2. please confirm that the ghostscript is installed, but the ghostscript-fonts is not installed.
  
Actual results:

ghostscript-fonts is not installed.

Expected results:

ghostscript-fonts is installed.

Additional info:

This was separated from BZ524237.
  https://bugzilla.redhat.com/show_bug.cgi?id=524237

> please be aware that the ongoing problems with snapshots/rollback at 
> Kreditwerk have highest management visibility. This affects rollbacks
> as RHNS cannot roll back the system to an inconsistent state.

Comment 1 Masahiro Matsuya 2009-10-23 12:15:46 UTC
Created attachment 365842 [details]
proposed patch

Comment 2 Chris Lumens 2009-10-28 14:21:37 UTC
Has something recently changed with the requires between ghostscript and ghostscript-fonts?  The reason this whiteout exists (and has existed since 2002, incidentally) is because there's some circular dependency such that ghostscript and ghostscript-fonts require each other.  Is this no longer the case?

Comment 3 R P Herrold 2009-10-28 14:43:47 UTC
Isn't it the case that ghostscript-fonts 'enhances' to the point of functionality on a standalone computer, but is not 'required' in the sense that a X fontserver might be used for the needed fonts, and that fontserver need not be on the local machine?

-- Russ herrold

Comment 4 Masahiro Matsuya 2009-10-29 09:54:51 UTC
Hi Chris,

I can reproduce this issue even with RHEL5.0. So, it's not a recent change.

On EL5.4, ghostscript depends on ghostscript-fonts, and ghostscript-fonts depends on ghostscript. This is not changed since 5.0.

I think that this is a bug which anyone could not find for a long time. 

The following is a reasonable workflow, I think.
'printing' package group requires ghostscript. ghostscript requires ghostscript-fonts. And though ghostscript-fonts requires ghostscript, ghostscript is not installed because it's in the whiteout. In this case, after the installation, the dependency issue doesn't occur. And, that's what my patch does.

It's not expected to install ghostscript only.

Thanks!

Masahiro

Comment 6 RHEL Program Management 2009-11-02 22:11:47 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 7 Martin Gracik 2009-12-11 14:50:31 UTC
Will be fixed in new anaconda version 11.1.2.198

Comment 10 Alexander Todorov 2010-01-06 11:31:24 UTC
with RHEL5.5-Server-20091227.0 build when "Printing support" is selected in GUI both ghostscript and ghostscript-fonts packages are installed. Moving to VERIFIED.

Comment 13 errata-xmlrpc 2010-03-30 08:02:10 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0194.html