| Summary: | rpm -V tomcat6 fails due on /var/log/tomcat6/catalina.out [rhel-6.9.0] | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Hung <hpham> | ||||
| Component: | tomcat6 | Assignee: | Coty Sutherland <csutherl> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Stefl <jstefl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.7 | CC: | bressers, csutherl, fgoldefu, mbabacek, rhatlapa, rsawhill, salmy | ||||
| Target Milestone: | rc | Keywords: | ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
Due to a bug in the tomcat6 spec file, the catalina.out file's md5sum, size, and mtime attributes were compared to the file's attributes at installation time. Because the values of these attributes change after the service is started, the "rpm -V" command previously failed. With this update, the attributes mentioned above are ignored in the RPM verification, and the catalina.out file now passes the verification check.
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 1327325 1357123 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-03-20 10:23:00 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1269194, 1327325, 1357123 | ||||||
| Attachments: |
|
||||||
|
Description
Hung
2016-04-14 14:31:18 UTC
I think it's probably a good idea to ignore changes to the log file :) This is a very easy/simple fix using RPM's %verify directive (http://www.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html) in the spec. The output format can be reviewed online (http://www.rpm.org/max-rpm/s1-rpm-verify-output.html); I'll remove the size, md5sum, and mtime checks and leave the user/group ones in place. Created attachment 1147362 [details]
proposed patch
*** Bug 1327325 has been marked as a duplicate of this bug. *** Previously fixed via RHSA-2016:2045, see bug 1357123. |