-
Bug
-
Resolution: Done
-
Major
-
None
-
4.12.0
-
None
-
No
-
2
-
False
-
-
-
Release Note Not Required
-
Done
Description of problem:
When a selinuxprofile was created based on another base profile than "container", the policy would not be installed
Version-Release number of selected component (if applicable):
0.5
How reproducible:
always
Steps to Reproduce:
1. Create a selinuxpolicy from the following manifest: apiVersion: security-profiles-operator.x-k8s.io/v1alpha2 kind: SelinuxProfile metadata: name: errorlogger spec: inherit: - name: net_container allow: var_run_t: sock_file - write 2. 3.
Actual results:
the policy failed to create
Expected results:
the policy should be created
Additional info:
the key in this bug is the inherit, in older SPO releases, only container worked