Comments (3)
@oneandoneis2 thanks for raising the issue. We switched to the sysctl implementation of chef in #228. This is leading to the issue on your side. I'll have a look. As a workaround for now you can pin the cookbook to the major version 3 on your side, like
# metadata.rb
depends 'chef-os-hardening', '~> 3.2.1'
from chef-os-hardening.
@oneandoneis2 is chef -v
maybe from your development system? I see in your packer output chef 13:
amazon-ebs: System Info:
amazon-ebs: ------------
amazon-ebs: chef_version=13.8.5 <----------------------------------------
amazon-ebs: platform=ubuntu
amazon-ebs: platform_version=18.04
amazon-ebs: ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
amazon-ebs: program_name=chef-client worker: ppid=1587;start=13:24:54;
amazon-ebs: executable=/opt/chef/bin/chef-client
Chef 13 is EOL already for a while, with chef-os-hardening 4.0.0 we dropped the support of chef 13.
If you want to continue using chef 13, you should pin the cookbook version like in the example above.
from chef-os-hardening.
Thanks for the quick replies!
Pinning to the previous version does indeed fix things for now. I'd missed that packer was still running the v13 chef - guess it's time to write up an upgrade ticket!
Cheers!
from chef-os-hardening.
Related Issues (20)
- Make a new release? HOT 3
- exec-shield incompatible with Oracle Linux UEK HOT 1
- Audit Daemon Fails on Amazon Linux 2 HOT 1
- execute[update-pam] resource fails on Ubuntu 14.04 on Azure HOT 6
- Failing centos 7 dokken tests in the CI
- Wrong OpenSuse /etc/shadow membership
- Chef client failing on OS restart with Amazon Linux HOT 4
- os-hardening::profile recipe creating pinerolo_profile.sh file with .old extension on each chef-client run
- idempotency issues: "check package signature in repo files" and "remove_suid_from_blacklists" HOT 1
- pam-auth-update --package prompts interactive debconf
- Chef warning when /bin/su is a symlink
- Configuration conflict when using both chef-ssh-hardening and chef-os-hardening HOT 2
- chef exec rake lint fails, foodcritic deprecated HOT 1
- pwquality.conf defaults or suggested config HOT 1
- Amazon Linux 2 Auditd fails to restart
- Linux Baseline tests are failing for os-13 HOT 1
- Support for RHEL 8 / Rocky Linux 8 HOT 3
- Dependency Dashboard
- Amazon ECS agent can't start after hardening runs HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-os-hardening.