sous-chefs / selinux

Development repository for the selinux cookbook
https://supermarket.chef.io/cookbooks/selinux
Apache License 2.0
58 stars 70 forks source link

Add missing policycoreutils-python package #86

Closed ramereth closed 1 year ago

ramereth commented 1 year ago

In addition:

Signed-off-by: Lance Albertson lance@osuosl.org

Stromweld commented 1 year ago

looks like there is a reboot loop issue with the ubuntu 18.04 tests

ramereth commented 1 year ago

looks like there is a reboot loop issue with the ubuntu 18.04 tests

@Stromweld Yes. I'm having a hell of a time getting SELinux to properly enable on 18.04. I'm to the point where I want to disable this test suite. Any objections?

detjensrobert commented 1 year ago

Do the tests pass correctly outside of the CI VMs?

Stromweld commented 1 year ago

since app armour is the default extra protections that ubuntu uses vs selinux I think it'd be kosher to disable the test suite for that one.

ramereth commented 1 year ago

Do the tests pass correctly outside of the CI VMs?

@detjensrobert no. For whatever reason I cannot get relabling to work properly on reboot, even locally for 18.04. It's just broken

Stromweld commented 1 year ago

did you use the .autorelabel file in root trick to get it to relabel on reboot?

ramereth commented 1 year ago

did you use the .autorelabel file in root trick to get it to relabel on reboot?

@Stromweld yup

Stromweld commented 1 year ago

I doubt many are using selinux with ubuntu so should be ok to exempt the 1 version from the matrix.

detjensrobert commented 1 year ago

@detjensrobert no. For whatever reason I cannot get relabling to work properly on reboot, even locally for 18.04. It's just broken

Fun -- yeah, lets disable it and maybe make a note in the README that its broken for 18.04.

ramereth commented 1 year ago

So, I did got it to work if I did the steps manually so I suspect it's something with our test cookbook. I'm going to look into it a little more..

kitchen-porter commented 1 year ago

Released as: 6.0.6