Skip to content

Commit

Permalink
(SIMP-4588) auditd: fails to upgrade due to RPM bug (#70)
Browse files Browse the repository at this point in the history
Workaround bug in rpm that does not allow upgrades in which
directory links become directories or vice versa.  This was the
simplest way to solve the problem.

SIMP-4588 #close
  • Loading branch information
lnemsick-simp authored and trevor-vaughan committed Mar 27, 2018
1 parent 87f738a commit 8b7ed6e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
* Mon Mar 26 2018 Liz Nemsick <[email protected]> - 7.1.3-0
- Work around RPM upgrade issue with nodeset link in compliance
acceptance test suite.

* Tue Jan 09 2018 Nick Markowski <[email protected]> - 7.1.3-0
- Updated compliance suite to use new inspec profile,
https://github.com/simp/inspec-profile-disa_stig-el7
Expand Down
10 changes: 10 additions & 0 deletions spec/acceptance/suites/compliance/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Due to a bug in rpm, RPMs fail to upgrade when a symlink to a
directory changes to an actual directory or vice versa.
(See https://pagure.io/packaging-committee/issue/385 ).

In pupmod-simp-auditd version 7.1.2, 'nodesets' was a link.
However, beginning with 7.1.3, this suite no longer uses the
same nodeset as the default suite. So, to avoid the
link-to-directory RPM upgrade problem, we have replaced the
'nodesets' link with a link to another directory,
'local.nodesets'.
1 change: 1 addition & 0 deletions spec/acceptance/suites/compliance/nodesets

0 comments on commit 8b7ed6e

Please sign in to comment.