Project

General

Profile

Actions

Bug #17460

closed

Set node.rb file context for Puppet 4

Added by Lukas Zapletal almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
General Foreman
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

/etc/puppetlabs/puppet/node.rb requires to be labeled with foreman_enc_t
(the same as is /etc/puppet/node.rb)

Puppet3 labels:
  1. bzcat /etc/selinux/targeted/active/modules/400/foreman/cil | grep /etc/puppet
    (filecon "/etc/puppet/node.rb" any (system_u object_r foreman_enc_t ((s0) (s0))))
Puppet4 node.rb:
  1. ll Z `find /etc/puppetlabs/ -name node.rb`
    -r-xr-x--
    . puppet puppet system_u:object_r:puppet_etc_t:s0 /etc/puppetlabs/puppet/node.rb

Version-Release number of selected component (if applicable):
@satellite-6.3.0-6.1.beta.el7sat.noarch
foreman-selinux-1.13.1-1.el7.noarch

Steps to Reproduce:
ll -Z /etc/puppetlabs/puppet/node.rb

Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-selinux/pull/65 added
Actions #2

Updated by Anonymous almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Dominic Cleal almost 8 years ago

  • Translation missing: en.field_release set to 189
Actions #4

Updated by Daniel Lobato Garcia almost 8 years ago

  • Target version set to 1.4.3
Actions

Also available in: Atom PDF