Bug 1173496 - RPM verify reports errors for /var/cache/man
Summary: RPM verify reports errors for /var/cache/man
Alias: None
Product: Fedora
Classification: Fedora
Component: man-db
Version: 21
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Jan Chaloupka
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2014-12-12 09:39 UTC by Tom Hughes
Modified: 2015-01-17 05:43 UTC (History)
2 users (show)

Fixed In Version: man-db-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-01-17 05:43:37 UTC
Type: Bug

Attachments (Terms of Use)

Description Tom Hughes 2014-12-12 09:39:47 UTC
Description of problem:

Running "rpm -V man-db" reports two errors for /var/cache/man:

.M....G..    /var/cache/man

The modification time is obviously going to change as files are added and removed from the cache, so "%verify (not mtime)" should be used in the file list to exclude the mtime from verification.

The group flag seems to stem from the fact that the RPM file list marks it as root:root but /usr/lib/tmpfiles.d/man-db.conf says root:man so tmpfiles tends to change it.

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


Comment 1 Jan Chaloupka 2015-01-05 12:02:25 UTC
Thanks Tom,

M is the file's mode.

You are right. /usr/lib/tmpfiles.d/man-db.conf contains
d /var/cache/man 2755 root man 1w

Spec file has
%attr(0755,root,root) %dir %{cache}

Comment 2 Fedora Update System 2015-01-05 15:41:29 UTC
man-db- has been submitted as an update for Fedora 21.

Comment 3 Fedora Update System 2015-01-06 06:09:22 UTC
Package man-db-
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing man-db-'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-01-17 05:43:37 UTC
man-db- has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

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