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ELinux policy state and rules.
cookbook 'selinux', '= 6.1.2', :supermarket
knife supermarket install selinux
knife supermarket download selinux
SELinux Cookbook
Description
The SELinux (Security Enhanced Linux) cookbook provides recipes for manipulating SELinux policy enforcement state.
SELinux can have one of three settings:
Enforcing
- Watches all system access checks, stops all 'Denied access'
- Default mode on RHEL systems
Permissive
- Allows access but reports violations
Disabled
- Disables SELinux from the system but is only read at boot time. If you set this flag, you must reboot.
Disable SELinux only if you plan to not use it. Use Permissive
mode if you just need to debug your system.
Requirements
- Chef 15.3 or higher
Platform
- RHEL 7+
- CentOS 7+
- Fedora
- Ubuntu
- Debian
Resources
The following resources are provided:
- [selinux_boolean](documentation/selinux_boolean.md)
- [selinux_fcontext](documentation/selinux_fcontext.md)
- [selinux_install](documentation/selinux_install.md)
- [selinux_login](documentation/selinux_login.md)
- [selinux_module](documentation/selinux_module.md)
- [selinux_permissive](documentation/selinux_permissive.md)
- [selinux_port](documentation/selinux_port.md)
- [selinux_state](documentation/selinux_state.md)
- [selinux_user](documentation/selinux_user.md)
Maintainers
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
selinux Cookbook CHANGELOG
This file is used to list changes made in each version of the selinux cookbook.
6.1.2 - 2023-02-14
Standardise files with files in sous-chefs/repo-management
6.1.1 - 2023-02-03
- Updated selinux_port documentation
6.1.0 - 2023-01-18
- resolved cookstyle error: resources/install.rb:5:1 refactor:
Chef/Style/CopyrightCommentFormat
- resolved cookstyle error: resources/module.rb:5:1 refactor:
Chef/Style/CopyrightCommentFormat
- resolved cookstyle error: resources/state.rb:5:1 refactor:
Chef/Style/CopyrightCommentFormat
- Standardise files with files in sous-chefs/repo-management
- Add
selinux_login
resource - Add
selinux_user
resource
6.0.7 - 2022-11-01
- Fix CentOS 6 package requirements
- Fix Chef 18 compatibility
6.0.6 - 2022-09-28
- Add missing
policycoreutils-python
package - Include additional platforms and suites for testing
- Run
apt_update
inselinux_install
on Debian-based systems - Fix SELinux enablement on Ubuntu 18.04
6.0.5 - 2022-09-18
- Standardise files with files in sous-chefs/repo-management
- Add testing for Debian 11, Alma Linux and Rocky Linux
- Remove testing for CentOS 8 (prefer Stream instead)
- Update Github CI config
6.0.4 - 2022-02-17
- Standardise files with files in sous-chefs/repo-management
6.0.3 - 2022-02-08
- Remove delivery folder
6.0.2 - 2022-01-01
- resolved cookstyle error: resources/install.rb:5:1 refactor:
Chef/Style/CopyrightCommentFormat
- resolved cookstyle error: resources/module.rb:5:1 refactor:
Chef/Style/CopyrightCommentFormat
- resolved cookstyle error: resources/state.rb:5:1 refactor:
Chef/Style/CopyrightCommentFormat
6.0.1 - 2021-11-03
- Correctly parse ports with multple contexts
6.0.0 - 2021-09-02
- Import
selinux_policy
resources into this cookbook (_fcontext
,_permissive
, and_port
) -
selinux_policy_module
not imported since it is a duplicate ofselinux_module
Deprecations
-
selinux_fcontext
actionaddormodify
renamed tomanage
-
selinux_port
actionaddormodify
renamed tomanage
5.1.1 - 2021-08-30
- Standardise files with files in sous-chefs/repo-management
5.1.0 - 2021-08-21
- Fix
selinux_install
on Alma Linux / Oracle Linux
5.0.0 - 2021-08-10
Note: With version 5.0.0 the default recipe has been removed
- Major refactoring
- Restore support for Debian based distros
- All resources now use unified_mode
- Added selinux_boolean resource
- Remove attributes and default recipe
- Replaced with a set of bare recipes for the three selinux states
- Add automatic restart function to
selinux_state
resource
4.0.0 - 2021-07-21
- Sous Chefs adoption
- Enable
unified_mode
for Chef 17 compatibility - Update test platforms
3.1.1 (2020-09-29)
- Move
default['selinux']['status']
attribute todefault['selinux']['state']
to avoid conflicts with Ohai in Chef Infra Client 16 - @shoekstra
3.1.0 (2020-09-29)
- Cookstyle Bot Auto Corrections with Cookstyle 6.16.8 - @cookstyle
- Add a new
node['selinux']['install_mcstrans_package']
attribute to control installation of the mcdtrans package. This default to true to maintain existing functionality. - @kapilchouhan99
3.0.2 (2020-08-25)
- Fix failures in CI- @shoekstra
- Specify platform to SoloRunner - @shoekstra
- Remove unnecessary Foodcritic comments - @tas50
- Notify :immediately not :immediate - @tas50
- Add Github actions testing of style/unit - @tas50
- [GH-67] - Do not try to modify frozen checksum - @vzDevelopment
- Standardise files with files in chef-cookbooks/repo-management - @xorimabot
3.0.1 (2019-11-14)
- Remove the deprecated ChefSpec report - @tas50
- Allow "-" and "_" for module names - @ramereth
- Update Fedora versions we test on - @tas50
3.0.0 (2019-06-06)
- Support for SELinux Modules, via new resource
selinux_module
, able to compile.te
files, install and remove modules; - Improving test coverage for all resources
- Remove support for Ubuntu/Debian
- Require Chef 13+
2.1.1 (2018-06-07)
- Do not execute setenforce 1 always
- Remove chefspec matchers that are autogenerated now
- Chef 13 Fixes
2.1.0 (2017-09-15)
- Simplify Travis config and fix ChefDK 2.0 failures
- Use bento slugs in Kitchen
- Remove maintainer files
- More cleanup of the maintainer files
- Speed up install with multi-package install
2.0.3 (2017-06-13)
- Fix boolean check within default recipe
2.0.2 (2017-06-05)
- Permissive guard should grep for permissive not just disabled
2.0.1 (2017-05-30)
- Remove class_eval usage
2.0.0 (2017-05-15)
- Deprecate debian family support
- Make default for rhel family use setenforce regardless of whether a temporary change or not. Eliminates the requirement for a required reboot to effect change in the running system.
1.0.4 (2017-04-17)
- Switch to local delivery for testing
- Use the standard apache license string
- Updates for early Chef 12 and Chef 13 compatibility
- Update and add copyright blocks to the various files
1.0.3 (2017-03-14)
- Fix requirement in metadata to reflect need for Chef 12.7 as using action_class in state resource.
1.0.2 (2017-03-01)
- Remove setools* packages from install resource (utility to analyze and query policies, monitor and report audit logs, and manage file context). Future versions of this cookbook that might use this need to handle package install on Oracle Linux as not available in default repo.
1.0.1 (2017-02-26)
- Fix logic error in the permissive state change
1.0.0 (2017-02-26)
-
BREAKING CHANGE
node['selinux']['state']
is nownode['selinux']['status']
to meet Chef 13 requirements. - Update to current cookbook engineering standards
- Rewrite LWRP to 12.5 resources
- Resolved cookstyle errors
- Update package information for debian based on https://debian-handbook.info/browse/stable/sect.selinux.html
selinux-activate looks like it's required to ACTUALLY activate selinux on non-RHEL systems. This seems like it could be destructive if unexpected.
Add property temporary to allow for switching between permissive and enabled
Add install resource
v0.9.0 (2015-02-22)
- Initial Debian / Ubuntu support
- Various bug fixes
v0.8.0 (2014-04-23)
- [COOK-4528] - Fix selinux directory permissions
- [COOK-4562] - Basic support for Ubuntu/Debian
v0.7.2 (2014-03-24)
handling minimal installs
v0.7.0 (2014-02-27)
[COOK-4218] Support setting SELinux boolean values
v0.6.2
- Fixing bug introduced in 0.6.0
- adding basic test-kitchen coverage
v0.6.0
- [COOK-760] - selinux enforce/permit/disable based on attribute
v0.5.6
- [COOK-2124] - enforcing recipe fails if selinux is disabled
v0.5.4
- [COOK-1277] - disabled recipe fails on systems w/o selinux installed
v0.5.2
- [COOK-789] - fix dangling commas causing syntax error on some rubies
v0.5.0
- [COOK-678] - add the selinux cookbook to the repository
- Use main selinux config file (/etc/selinux/config)
- Use getenforce instead of selinuxenabled for enforcing and permissive
Collaborator Number Metric
6.1.2 passed this metric
Contributing File Metric
6.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
6.1.2 passed this metric
No Binaries Metric
6.1.2 passed this metric
Testing File Metric
6.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
6.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
6.1.2 passed this metric
6.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
6.1.2 passed this metric
No Binaries Metric
6.1.2 passed this metric
Testing File Metric
6.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
6.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
6.1.2 passed this metric
6.1.2 passed this metric
Testing File Metric
6.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
6.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
6.1.2 failed this metric
6.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number