Bug 193475 - [patch] packaged symbolic link to an unpackaged file
[patch] packaged symbolic link to an unpackaged file
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: docbook-dtds (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ondrej Vasik
:
: 59133 130602 (view as bug list)
Depends On:
Blocks: FC7Target
  Show dependency treegraph
 
Reported: 2006-05-29 09:06 EDT by Robert Scheck
Modified: 2013-01-09 22:52 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-20 09:53:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Patch for docbook-dtds spec file resolving this bug report (1.88 KB, patch)
2006-10-14 06:36 EDT, Robert Scheck
no flags Details | Diff

  None (edit)
Description Robert Scheck 2006-05-29 09:06:35 EDT
Description of problem:
> ls -l /etc/sgml/sgml-docbook.cat /etc/sgml/xml-docbook.cat
lrwxrwxrwx 1 root root 27  7. Mar 00:25 /etc/sgml/sgml-docbook.cat -> sgml-
docbook-4.4-1.0-30.cat
lrwxrwxrwx 1 root root 26  7. Mar 00:25 /etc/sgml/xml-docbook.cat -> xml-
docbook-4.4-1.0-30.cat
>

> rpm -qf /etc/sgml/sgml-docbook.cat /etc/sgml/xml-docbook.cat
docbook-dtds-1.0-30.noarch
docbook-dtds-1.0-30.noarch
>

> ls -l /etc/sgml/sgml-docbook-4.4-1.0-30.cat /etc/sgml/xml-docbook-4.4-1.0-30.
cat
-rw-r--r-- 1 root root 124 Mar  7 00:25 /etc/sgml/sgml-docbook-4.4-1.0-30.cat
-rw-r--r-- 1 root root 123 Mar  7 00:25 /etc/sgml/xml-docbook-4.4-1.0-30.cat
>

> rpm -qf /etc/sgml/sgml-docbook-4.4-1.0-30.cat /etc/sgml/xml-docbook-4.4-1.0-
30.cat
file /etc/sgml/sgml-docbook-4.4-1.0-30.cat is not owned by any package
file /etc/sgml/xml-docbook-4.4-1.0-30.cat is not owned by any package
>

Version-Release number of selected component (if applicable):
docbook-dtds-1.0-30

How reproducible:
Everytime, see above.

Actual results:
There are packaged symbolic links in docbook-dts pointing to unpackaged files.

Expected results:
Rest of the files also packaged ;-)

Additional info:
Currently, dangling symbolic links are not detected at runtime by rpm - but the 
next generation of rpm is able to (whenever it reaches Rawhide). Nevertheless, 
all files should be packaged to be sane.

I would suggest to %ghost the files, which are currently unpackaged.

This shouldn't hurt (as far as tested on my devel system here) and maybe, the
rm -f /etc/sgml/{x,sg}ml-docbook-?.?-%{version}-%{release}.cat in %postun could 
also be removed (untested, yet).
Comment 1 Robert Scheck 2006-09-23 13:27:45 EDT
Tim, ping?
Comment 2 Robert Scheck 2006-10-14 06:17:02 EDT
Anybody alive? Can we please %ghost the unpackaged files in /etc/sgml/?
Comment 3 Robert Scheck 2006-10-14 06:36:28 EDT
Created attachment 138498 [details]
Patch for docbook-dtds spec file resolving this bug report
Comment 4 Robert Scheck 2006-12-19 18:05:29 EST
Common, please :)
Comment 5 Ondrej Vasik 2007-05-21 03:57:46 EDT
*** Bug 130602 has been marked as a duplicate of this bug. ***
Comment 6 Ondrej Vasik 2007-05-21 09:25:17 EDT
*** Bug 59133 has been marked as a duplicate of this bug. ***
Comment 7 Ondrej Vasik 2007-06-20 09:53:04 EDT
Files touched and ghosted, checked Tim Waugh's comment about 
Failed to removed entry from /etc/sgml/sgml-docbook-3.0-1.0-4.cat
during rpm -Fvh ./RPMS/noarch/docbook-dtds-1.0-5.noarch.rpm in #59133, this
thing is ok with this solution, so I think we can use it.

Closing RAWHIDE, fixed in devel branch.

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