Bug 66257

Summary: postinstall script error whe /etc/sgml is empty
Product: [Retired] Red Hat Raw Hide Reporter: Guy Streeter <streeter>
Component: docbook-style-dssslAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: nobody
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-19 14:23:59 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 Guy Streeter 2002-06-06 20:29:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513

Description of problem:
When no files match the wildcard, the for loop is run once with the literal
string /etc/sgml/*-docbook-*.cat as its parameter. This creates a file called
*-docbook-*.cat, which makes things messy later on.

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


How reproducible:
Always

Steps to Reproduce:
1.install docbook-style-dsssl before anything else puts a file in /etc/sgml
2.see the /etc/sgml/*-docbook-*.cat file
3.
	

Actual Results:  /etc/sgml/*-docbook-*.cat

Expected Results:  no /etc/sgml/*-docbook-*.cat

Additional info:

Comment 1 Tim Waugh 2002-06-19 10:15:13 UTC
There are prereqs in place to prevent this.  Had you removed /etc/sgml or 
something?

Comment 2 Guy Streeter 2002-06-19 14:23:50 UTC
This problem showed up while bootstrapping an 8.0 distro. Perhaps some prereq
was satisfied by an older package (the buildroot was bootstrapped from from
7.2). Or perhaps it's just screwy because it's a buildroot and not an actual
installation.

Comment 3 Tim Waugh 2002-06-20 10:15:43 UTC
It prereqs docbook-dtd-sgml though, which has always populated /etc/sgml as 
far as I can recall. 
 
I think this must have been --nodeps'd in the build root.