selinux.module State Fails to Report Changes #67668
Replies: 6 comments
-
@doc987 Thanks for the report. This would be useful, marking it as a future feature request. |
Beta Was this translation helpful? Give feedback.
-
Just to clarify, the last paragraph is a feature request, but I think the rest describes a bug. selinux.module should be reporting when changes are made. |
Beta Was this translation helpful? Give feedback.
-
I was just looking into this as well as it would be useful to holistically manage te/pp files. However, I don't know that changes are exposed. The
That output is the same if localpolicy is changed or unchanged. @doc987 do you know of any way to identify if modules include changes? |
Beta Was this translation helpful? Give feedback.
-
Does it matter that the file is for an selinux module? I was thinking that Salt would determine whether or not the pp file had changed, and only run |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Beta Was this translation helpful? Give feedback.
-
Thank you for updating this issue. It is no longer marked as stale. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
SELinux modules appear to successfully install (if not present) or update (if installed, but have changes). See example below.
However,
selinux.module
doesn't report having changes in the result summary for the minion, and any requisites that are tied to changes don't get triggered. I imagine a typical requisite might be to runrestorecon
when a module changes.What would be really fancy is to have an option to automatically run
restorecon
on all file paths with contexts specified in the module fc file.Salt Version: 2017.7.3
Beta Was this translation helpful? Give feedback.
All reactions