Bug 481151 - ntp rpm verification fails on /etc/ntp.conf
Summary: ntp rpm verification fails on /etc/ntp.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ntp
Version: 5.3
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Miroslav Lichvar
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-22 13:49 UTC by Karel Volný
Modified: 2018-09-25 13:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Prior to this update, verifying the ntp package with the "rpm -V" command failed on the package configuration file if the configuration file had changed. However, changes to the configuration file should not impact the verification test. This update adapts the spec file and the package verify test passes successfully.
Clone Of:
: 591924 (view as bug list)
Environment:
Last Closed: 2011-07-21 06:42:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0980 0 normal SHIPPED_LIVE ntp bug fix and enhancement update 2011-07-20 15:45:14 UTC

Description Karel Volný 2009-01-22 13:49:26 UTC
Description of problem:
rpm verify test of the package ntp fails on its configuration file /etc/ntp.conf

but this file may be automagically changed by dhclient-script which is the default configuration, and so it could not be expected that it will match the package's version

Version-Release number of selected component (if applicable):
ntp-4.2.2p1-9.el5_3.1

How reproducible:
always (on systems where dhclient can set ntp configuration)

Steps to Reproduce:
1. rpm -V ntp
  
Actual results:
S.5....T  c /etc/ntp.conf

Expected results:
(no error output)

Additional info:
I propose changing the corresponding .spec line to:
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ntp.conf

the issue is present also on RHEL-4

Comment 3 RHEL Program Management 2010-08-09 19:09:38 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 5 RHEL Program Management 2011-01-11 20:19:26 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 6 RHEL Program Management 2011-01-11 23:13:46 UTC
This request was erroneously denied for the current release of
Red Hat Enterprise Linux.  The error has been fixed and this
request has been re-proposed for the current release.

Comment 11 Eva Kopalova 2011-06-30 12:43:10 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Prior to this update, verifying the ntp package with the "rpm -V" command failed on the package configuration file if the configuration file had changed. However, changes to the configuration file should not impact the verification test. This update adapts the spec file and the package verify test passes successfully.

Comment 12 errata-xmlrpc 2011-07-21 06:42:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0980.html


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