Bug 44537 - packaging problem - missing files
Summary: packaging problem - missing files
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 7.3
Hardware: alpha Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-06-14 00:24 UTC by Michal Jaegermann
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-06-14 14:48:28 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Michal Jaegermann 2001-06-14 00:24:40 UTC
Description of Problem:

There seem to be errors in packaging in that that there are files
which show on rpm listings but 'rpm --verify' does not find them
on a disk and also 'rpm2cpio <package> | cpio -t' does not detect
their presence.

Instances I found are  

  /usr/share/ssl/certs/stunnel.pem    from stunnel-3.13-3
  /var/log/mysqld.log                 from mysql-server-3.23.38-1
  /var/cache/ssl_gcache_data.dir      from mod_ssl-2.8.1-5
  /var/cache/ssl_gcache_data.pag      from mod_ssl-2.8.1-5
  /var/cache/ssl_gcache_data.sem      from mod_ssl-2.8.1-5

At least stunnel.pem is of a non-zero length and ownership and/or
permits is "not usual" in all cases.


Comment 1 Jeff Johnson 2001-06-14 04:31:26 UTC
The stunnel file is marked %config(missingok,noreplace) :

    bash$ rpm -q --qf '[%{filenames} %{fileflags:fflags}\n]' stunnel
    /usr/share/ssl/certs/stunnel.pem cmng

Comment 2 Michal Jaegermann 2001-06-14 14:35:13 UTC
Does this make it ok that 'rpm2cpio' cannot find it even if it is listed
by 'rpm -qvlp ...'?  In any case 'rpm --verify stunnel' is concerned.

Comment 3 Jeff Johnson 2001-06-14 14:48:22 UTC
I need to check to be certain, but files marked %config(missingok,noreplace)
may very well not be part of a package payload. I'll check by rebuilding with
rpm-3.0.5 ...

Comment 4 Jeff Johnson 2001-06-14 21:36:51 UTC
I'm blind :-(

The stunnel file is marked as follows

	%ghost %config(noreplace,missingok) %{_datadir}/ssl/certs/stunnel.pem

A file marked with %ghost is resident in metadata only, not in the payload, but
will have all the usual file attributes when queried. On --verify, rpm has never
handled %ghost gracefully, will report false positive erros (fixed recently in

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