Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-04-13 Thread Claire Cadman (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Claire Cadman updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2994  
 
 
  selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
Change By: 
 Claire Cadman  
 
 
Labels: 
 doc_reviewed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.7447.1618320180100%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-30 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2994  
 
 
  selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 FACT 4.0.53  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.177509.1617120240409%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-26 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau assigned an issue to Gabriel Nagy  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2994  
 
 
  selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Assignee: 
 Mihai Buzgau Gabriel Nagy  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.174953.1616741340109%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-25 Thread Gabriel Nagy (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gabriel Nagy commented on  FACT-2994  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
 From your previous comments I understood that selinuxfs wasn't mounted and Facter 4 still reported enabled=true I have a PR open to fix the discrepancy between Facter 3 and 4: https://github.com/puppetlabs/facter/pull/2328 Once we have a nightly build out with this I'll let you know  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.174284.1616689680043%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-25 Thread Vadym Chepkov (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vadym Chepkov commented on  FACT-2994  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
 I am still curious, why you can't reproduce it In the kickstart we use to build image we have these packages section:  
 
 
 
 
 %packages  
 
 
 @^minimal-environment  
 
 
 dhcp-client  
 
 
 net-tools  
 
 
 network-scripts  
 
 
 tar  
 
 
 -NetworkManager*  
 
 
 -biosdevname  
 
 
 -dnf-plugin-spacewalk  
 
 
 -dracut-config-rescue  
 
 
 -firewalld  
 
 
 -iwl*firmware  
 
 
 -kexec-tools  
 
 
 -microcode_ctl  
 
  

Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-25 Thread Gabriel Nagy (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gabriel Nagy commented on  FACT-2994  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
 Vadym Chepkov Indeed the selinux fact behaves differently on Facter 4 as it sets enabled = true as soon as it finds the mountpoint in /proc/self/mounts, without also checking for the config file. However, since you don't have selinux mounted at all, I'm not sure what would cause the fact to appear as true. In any case, this might be fixed if we also check for the existence of the config file, like Facter 3 does.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.174056.1616673840103%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-25 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2994  
 
 
  selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Team: 
 Night's Watch  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.173895.1616660640068%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-25 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2994  
 
 
  selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Sprint: 
 NW - 2021-03-31  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.173897.1616660640176%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-25 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2994  
 
 
  selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Story Points: 
 2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.173896.1616660640131%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-24 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau commented on  FACT-2994  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
 removed selinux-policy  
 
 
 
 
  yum remove selinux-policy  
 
 
 Updating Subscription Management repositories.  
 
 
 Unable to read consumer identity  
 
 
 This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.  
 
 
 Dependencies resolved.  
 
 
 ==  
 
 
  Package   Arch Version Repository   Size  
 
 
 ==  
 
 
 Removing:  
 
 
  selinux-policynoarch   3.14.1-61.el8   @anaconda24 k  
 
 
 Removing dependent packages:  
 
 
  selinux-policy-targeted   noarch   3.14.1-61.el8   @anaconda49 M  
  

Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-24 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau commented on  FACT-2994  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
 memorysize_mb and swapsize_mb should be fixed by this PR: https://github.com/puppetlabs/facter/pull/2321 Jira ticket: https://tickets.puppetlabs.com/browse/FACT-2967    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.172954.1616599380023%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-24 Thread Vadym Chepkov (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vadym Chepkov commented on  FACT-2994  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
 btw, nightly build added three more differences to the list:    
 
 
 
 
   "memorysize_mb": {  
 
 
     "new_value": 3930.69,  
 
 
     "old_value": 3930.69140625  
 
 
   },  
 
 
   "puppet_agent_pid": {  
 
 
     "new_value": 2084,  
 
 
     "old_value": 2002  
 
 
   },  
 
 
   "swapsize_mb": {  
 
 
     "new_value": 2048,  
 
 
     "old_value": 2047.99609375  
 
 
   }  
 
 
 
   
 

  
 
 
 
 

Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-24 Thread Vadym Chepkov (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vadym Chepkov commented on  FACT-2994  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
 You should be able to reproduce the problem if you remove selinux-policy package and reboot Nightly build still shows the discrepancy      
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.172633.1616582340157%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-24 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau commented on  FACT-2994  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
 Couldn't reproduce this on RedHat 8 with 6.21.1. Since puppet `facts find --facterng` reports the correct value, we assume that the issue is in `puppet facts diff`. To confirm this, Vadym Chepkov would it be possible to try out our latest nightly build that has the fixes for puppet facts diff. You can download it from here: http://nightlies.puppet.com/yum/puppet6-nightly/el/8/x86_64/puppet-agent-6.21.1.38.gfa642d3c3-1.el8.x86_64.rpm     
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.172620.1616580060055%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-23 Thread Vadym Chepkov (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vadym Chepkov commented on  FACT-2994  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
 There can be bug in `puppet facts diff` itself. puppet facts find --facterng reports correct values    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.171928.1616521620022%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-23 Thread Nick Walker (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Walker assigned an issue to Mihai Buzgau  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2994  
 
 
  selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
Change By: 
 Nick Walker  
 
 
Assignee: 
 Mihai Buzgau  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.171881.1616520720325%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-23 Thread Nick Walker (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Walker updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2994  
 
 
  selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
Change By: 
 Nick Walker  
 
 
Priority: 
 Normal Critical  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.391989.1616519382000.171874.1616520660098%40Atlassian.JIRA.


Jira (FACT-2994) selinux fact is not properly detected by Facter 4

2021-03-23 Thread Vadym Chepkov (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vadym Chepkov created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2994  
 
 
  selinux fact is not properly detected by Facter 4   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 Facter 4  
 
 
Created: 
 2021/03/23 10:09 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Vadym Chepkov  
 

  
 
 
 
 

 
 While evaluating facts difference using PE2019.8.5 / puppet 6.21.1   
 
 
 
 
 # puppet facts diff  
 
 
    
 
 
   "os.selinux.enabled": {  
 
 
     "new_value": true,  
 
 
     "old_value": false  
 
 
   },