Bug 287321 - caching-nameserver listing files not created by package
Summary: caching-nameserver listing files not created by package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: caching-nameserver
Version: 7
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Adam Tkac
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-12 06:26 UTC by Daniel McNamara
Modified: 2013-04-30 23:37 UTC (History)
1 user (show)

Fixed In Version: 9.4.2-0.3.1.b1
Clone Of:
Environment:
Last Closed: 2007-09-18 13:09:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel McNamara 2007-09-12 06:26:03 UTC
Description of problem:

rpm -ql output of package lists a number of files, not in fact created by the
package.

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

9.4.2-0.3.b1.fc7

How reproducible:

Everytime


Steps to Reproduce:
1. Install caching-nameserver
2. run rpm -ql caching-nameserver
3. Scratch your head as you try and find the files rpm claims package creates.
Also wonder why the hell rpm -V caching-nameserver returns no errors about
missing files
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel McNamara 2007-09-12 06:32:11 UTC
Example below:

[root@firefly named]# rpm -ql caching-nameserver
/etc/named.caching-nameserver.conf
/etc/named.conf
/etc/named.rfc1912.zones
/usr/share/doc/caching-nameserver-9.4.2
/usr/share/doc/caching-nameserver-9.4.2/Copyright
/usr/share/doc/caching-nameserver-9.4.2/rfc1912.txt
/var/named/chroot/etc/named.caching-nameserver.conf
/var/named/chroot/etc/named.conf
/var/named/chroot/etc/named.rfc1912.zones
/var/named/chroot/var/named/named.ca
/var/named/chroot/var/named/named.empty
/var/named/chroot/var/named/named.localhost
/var/named/chroot/var/named/named.loopback
/var/named/named.ca
/var/named/named.empty
/var/named/named.localhost
/var/named/named.loopback

[root@firefly named]# ls /etc/name*
/etc/named.caching-nameserver.conf  /etc/named.rfc1912.zones

[root@firefly named]# ls /var/named/chroot/var/named/
[root@firefly named]# 


[root@firefly named]# ls /var/named/chroot/etc/
[root@firefly named]# 

RPM should -not- list files that the packge does not create or if they are files
that -might- be used by the package then dummy files (simple commented out
examples) should be created.

Confusion is caused by having files listed that do not in fact exist. Confusion
is further compounded when the rpm verifcation process states that there is no
issue (ie displays nothing about missing files).

[root@firefly named]# rpm -V caching-nameserver
[root@firefly named]# 



Comment 2 Adam Tkac 2007-09-17 15:25:07 UTC
That files are marked as %ghost in specfile so they will not exist. But it makes
sence to have chroot stuff in bind-chroot package.

Comment 3 Adam Tkac 2007-09-18 13:09:35 UTC
Commited + tagged into CVS but I'm not going to release this now. We should wait
for more serious issue

Adam


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