Bug 2040812
Summary: | Logging role "logging_purge_confs" option not properly working | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Brian Smith <briasmit> | |
Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> | |
Status: | CLOSED ERRATA | QA Contact: | David Jež <djez> | |
Severity: | unspecified | Docs Contact: | Eliane Ramos Pereira <elpereir> | |
Priority: | urgent | |||
Version: | 8.5 | CC: | djez, elpereir, fkrska, gfialova, nhosoi, pkettman, rmeggins, spetrosi | |
Target Milestone: | rc | Keywords: | Triaged, ZStream | |
Target Release: | 8.6 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | role:logging | |||
Fixed In Version: | rhel-system-roles-1.12.0-1.el8 | Doc Type: | Bug Fix | |
Doc Text: |
.The `logging_purge_confs` option no longer fails to delete unnecessary configuration files
Previously, the `logging_purge_confs` variable was prepared to delete unnecessary logging configuration files, but failed to clean them up. Consequently, even though the `logging_purge_confs` variable was set to true, unnecessary configuration files were not cleaned up, but left in the configuration directory. This issue is now fixed and the `logging_purge_confs` variable has been redefined to work as follows.
* If `logging_purge_confs` is set to `true`, it removes files in `rsyslog.d` which do not belong to any rpm packages. That includes configuration files generated by the previous `logging` role run. The `logging_purge_confs` default value is `false`.
|
Story Points: | --- | |
Clone Of: | ||||
: | 2047195 (view as bug list) | Environment: | ||
Last Closed: | 2022-05-10 14:12:46 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: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2047195 |
Description
Brian Smith
2022-01-14 18:20:46 UTC
*** Bug 2039107 has been marked as a duplicate of this bug. *** *** Bug 1990985 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (rhel-system-roles bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:1896 |