This file is used to list changes made in each version of the selinux cookbook.
- 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
- 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
- Standardise files with files in sous-chefs/repo-management
- Remove delivery folder
- 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
- Correctly parse ports with multple contexts
- Import
selinux_policy
resources into this cookbook (_fcontext
,_permissive
, and_port
)selinux_policy_module
not imported since it is a duplicate ofselinux_module
selinux_fcontext
actionaddormodify
renamed tomanage
selinux_port
actionaddormodify
renamed tomanage
- Standardise files with files in sous-chefs/repo-management
- Fix
selinux_install
on Alma Linux / Oracle Linux
- 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
- Sous Chefs adoption
- Enable
unified_mode
for Chef 17 compatibility - Update test platforms
- Move
default['selinux']['status']
attribute todefault['selinux']['state']
to avoid conflicts with Ohai in Chef Infra Client 16 - @shoekstra
- 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
- 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
- Remove the deprecated ChefSpec report - @tas50
- Allow "-" and "_" for module names - @ramereth
- Update Fedora versions we test on - @tas50
- 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+
- Do not execute setenforce 1 always
- Remove chefspec matchers that are autogenerated now
- Chef 13 Fixes
- 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
- Fix boolean check within default recipe
- Permissive guard should grep for permissive not just disabled
- Remove class_eval usage
- 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.
- 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
- Fix requirement in metadata to reflect need for Chef 12.7 as using action_class in state resource.
- 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.
- Fix logic error in the permissive state change
-
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
- Initial Debian / Ubuntu support
- Various bug fixes
- [COOK-4528] - Fix selinux directory permissions
- [COOK-4562] - Basic support for Ubuntu/Debian
handling minimal installs
[COOK-4218] Support setting SELinux boolean values
- Fixing bug introduced in 0.6.0
- adding basic test-kitchen coverage
- [COOK-760] - selinux enforce/permit/disable based on attribute
- [COOK-2124] - enforcing recipe fails if selinux is disabled
- [COOK-1277] - disabled recipe fails on systems w/o selinux installed
- [COOK-789] - fix dangling commas causing syntax error on some rubies
- [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