Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
Night's Watch
-
2
-
NW - 2021-03-31
-
Needs Assessment
-
Bug Fix
-
Fix selinux detection by taking the same approach as Facter 3, checking for both the mounted selinux filesystem, and the config file. If any is absent, Facter will not fill in the selinux fact.
-
Needs Assessment
Description
While evaluating facts difference using PE2019.8.5 / puppet 6.21.1
# puppet facts diff
|
|
"os.selinux.enabled": {
|
"new_value": true,
|
"old_value": false
|
},
|
"selinux": {
|
"new_value": true,
|
"old_value": false
|
},
|
|
Similar bug was previously fixed in Facter 3
https://github.com/puppetlabs/facter/commit/125a79e4da408bb4d4a86ebb7dd71c0ca27e288f
But in my case selinux fs is not even mounted:
[root@infdevx-puppet202 ~]# grep -c selinuxfs /proc/self/mounts
|
0
|
Attachments
Issue Links
- relates to
-
PUP-10972 puppet facts diff produces unexpected results
-
- Resolved
-