Giter Club home page Giter Club logo

Comments (4)

artem-sidorenko avatar artem-sidorenko commented on June 3, 2024

@phanikumar1210 Thanks for raising this issue! Unfortunately I can't reproduce it with test-kitchen and vagrant in this repo, I tried:

  1. kitchen verify default-amazonlinux-1
  2. kitchen login
  3. sudo reboot
  4. wait a bit
  5. kitchen converge default-amazonlinux-1

Could you maybe check if you have something, what prevents loading of ipv6 kernel module?
E.g. you can try this:

grep -i ipv6 /etc/modprobe.d/*

if you get something like:

/etc/modprobe.d/disable-ipv6.conf:install ipv6 /bin/true

this would be the reason. The ipv6 module loading is prevented and its not loaded when the system starts, so the configuration namespace net.ipv6 isn't available in the kernel

from chef-os-hardening.

phanikumar1210 avatar phanikumar1210 commented on June 3, 2024

I am getting following response for grep -i ipv6 /etc/modprobe.d/*

/etc/modprobe.d/CIS.conf:options ipv6 disable=1

from chef-os-hardening.

phanikumar1210 avatar phanikumar1210 commented on June 3, 2024

Removing options ipv6 disable=1 option from /etc/modprobe.d/CIS.conf resolved the issue.

from chef-os-hardening.

artem-sidorenko avatar artem-sidorenko commented on June 3, 2024

Yeah, we also handle this requirement, but differently. The official recommended way is not to blacklist the IPv6 module (as it leads to different problems), but to use net.ipv6.conf.all.disable_ipv6 for that. I can't find the link anymore, but I remember this was some recommendation from RH and this option was introduced exactly to avoid the module blacklisting.

I'm closing this issue as it looks like the problem is resolved and not related to chef-os-hardening.

from chef-os-hardening.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.