Giter VIP home page Giter VIP logo

Comments (12)

patope avatar patope commented on September 24, 2024 1

Problem seems to be in policy compilation

With 2.13.2 root's home folder contains only

  • kube_hetzner_selinux.te

on 2.13.1 there are

  • kube_hetzner_selinux.te
  • kube_hetzner_selinux.mod
  • kube_hetzner_selinux.pp

from terraform-hcloud-kube-hetzner.

mysticaltech avatar mysticaltech commented on September 24, 2024 1

@patope @lpellegr Should be fixed in v2.13.3. Lesson learned, when modifying SElinux policies, always test if it compiles correctly 😅 And thanks again for the tip!

from terraform-hcloud-kube-hetzner.

lpellegr avatar lpellegr commented on September 24, 2024 1

Thanks for the fix!

from terraform-hcloud-kube-hetzner.

brain-dev-null avatar brain-dev-null commented on September 24, 2024 1

Thank you! 😄

from terraform-hcloud-kube-hetzner.

lpellegr avatar lpellegr commented on September 24, 2024

I just experienced the same problem, and it even caused a working cluster that updates by itself to stop working. Using version 2.13.1 helps, but you still need to recreate the cluster again from scratch.

from terraform-hcloud-kube-hetzner.

mateuszlewko avatar mateuszlewko commented on September 24, 2024

it even caused a working cluster that updates by itself to stop working.

Sorry for off topic, but what do you mean by cluster updating itself? Do you mean automatic system updates, or do you have some automation that applies the newest version of this terraform module?

from terraform-hcloud-kube-hetzner.

lpellegr avatar lpellegr commented on September 24, 2024

it even caused a working cluster that updates by itself to stop working.

Sorry for off topic, but what do you mean by cluster updating itself? Do you mean automatic system updates, or do you have some automation that applies the newest version of this terraform module?

I would say automatic system updates since I have no automation.

from terraform-hcloud-kube-hetzner.

mysticaltech avatar mysticaltech commented on September 24, 2024

@patope @lpellegr I will add the missing SELinux rules ASAP.

from terraform-hcloud-kube-hetzner.

patope avatar patope commented on September 24, 2024

@mysticaltech I already made PR #1272 to resolve this. Problem is unknown permissions on anon_inode

from terraform-hcloud-kube-hetzner.

mysticaltech avatar mysticaltech commented on September 24, 2024

@patope I don't understand, you are removing permissions in the PR, how can that help?

from terraform-hcloud-kube-hetzner.

patope avatar patope commented on September 24, 2024

@mysticaltech those permissions are not valid for anon_inode and policy compiler will fail on those.

from terraform-hcloud-kube-hetzner.

mysticaltech avatar mysticaltech commented on September 24, 2024

@patope Ok, I see. Thanks for the info.

from terraform-hcloud-kube-hetzner.

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.