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).
Tim, ping?
Anybody alive? Can we please %ghost the unpackaged files in /etc/sgml/?
Created attachment 138498 [details] Patch for docbook-dtds spec file resolving this bug report
Common, please :)
*** Bug 130602 has been marked as a duplicate of this bug. ***
*** Bug 59133 has been marked as a duplicate of this bug. ***
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.