Bug 1657944
| Summary: | sos-audit uninstall leaves broken symlinks in /etc/audit/rules.d | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | John Pittman <jpittman> |
| Component: | sos | Assignee: | Pavel Moravec <pmoravec> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Miroslav HradĂlek <mhradile> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 | CC: | agk, bmr, gavin, nweddle, plambri, sbradley, tcleveng |
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | sos-3.6-8.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-14 01:12:01 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: | |||
|
Description
John Pittman
2018-12-10 19:21:29 UTC
Thanks for spotting it - this is already discussed in the original RFE: https://bugzilla.redhat.com/show_bug.cgi?id=1601084#c59 We can resolve this flaw within that BZ and close this one as duplicate, or track this symlink issue here separately - both is ok for me. Some feedback about preferences in solutions described in https://bugzilla.redhat.com/show_bug.cgi?id=1601084#c59 (and in above comments) would be great / pending on it. With no feedback in few days (when I should re-spin), I will resolve it by hardcoded: %ghost /etc/audit/rules.d/40-sos-filesystem.rules %ghost /etc/audit/rules.d/40-sos-storage.rules in sos.spec. Great Pavel! Thanks for responding so quickly. If it doesn't matter to you, I would like to track this issue here because I've made a public KCS that references this BZ for customers. The other bug is private and has a lot of info prior to beta so I am wary of making it public. This can be optionally tested by the reporter: A yum repository for the build of sos-3.6-8.el8 (task 19510986) is available at: http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.6/8.el8/ You can install the rpms locally by putting this .repo file in your /etc/yum.repos.d/ directory: http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.6/8.el8/sos-3.6-8.el8.repo RPMs and build logs can be found in the following locations: http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.6/8.el8/noarch/ The full list of available rpms is: http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.6/8.el8/noarch/sos-3.6-8.el8.src.rpm http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.6/8.el8/noarch/sos-3.6-8.el8.noarch.rpm http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.6/8.el8/noarch/sos-audit-3.6-8.el8.noarch.rpm Build output will be available for the next 21 days. Thanks Pavel. Works fine. [root@localhost ~]# rpm -ivh sos-3.6-8.el8.noarch.rpm sos-audit-3.6-8.el8.noarch.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:sos-audit-3.6-8.el8 ################################# [ 50%] Currently-enabled sos-audit rules in /etc/audit/rules.d are: 40-sos-filesystem.rules 40-sos-storage.rules NOTE: Audit rules changed in /etc/audit/rules.d. Run 'augenrules --load' to activate the new rules. 2:sos-3.6-8.el8 ################################# [100%] [root@localhost ~]# ls /etc/audit/rules.d/* /etc/audit/rules.d/40-sos-filesystem.rules /etc/audit/rules.d/40-sos-storage.rules /etc/audit/rules.d/audit.rules [root@localhost ~]# yum remove sos sos-audit Updating Subscription Management repositories. Updating Subscription Management repositories. ....snip [root@localhost ~]# ls /etc/audit/rules.d/* /etc/audit/rules.d/audit.rules |