Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-19744

SPO RawSelinuxProfile failed to create

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • 4.13
    • None
    • No
    • 2
    • CMP Sprint 70, CMP Sprint 71, CMP Sprint 72, CMP Sprint 73, CMP Sprint 74, CMP Sprint 75, CMP Sprint 76
    • 7
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      RawSelinuxProfile is able to get to Reday State

      Version-Release number of selected component (if applicable):

      SPO 0.8.0

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create RawSelinuxProfile CR:
      apiVersion: security-profiles-operator.x-k8s.io/v1alpha2 kind: RawSelinuxProfile metadata:   name: nginx-secure-raw   namespace: nginx-deploy spec:   policy: |     (block nginx-secure_nginx-deploy     (blockinherit container)     (allow process nginx-secure_nginx-deploy.process ( tcp_socket ( listen )))     (allow process http_cache_port_t ( tcp_socket ( name_bind )))     (allow process node_t ( tcp_socket ( node_bind ))))
      
      2. Watch for it becomes ready:
      watch oc get rawselinuxprofile
      
      

      Actual results:

      $ oc get rawselinuxprofile
      NAME               USAGE                                   STATE
      nginx-secure-raw   nginx-secure-raw_nginx-deploy.process  

      Expected results:

      $ oc get rawselinuxprofile
      NAME               USAGE                                   STATE
      nginx-secure-raw   nginx-secure-raw_nginx-deploy.process   Installed

      Additional info:

       

              wenshen@redhat.com Vincent Shen
              wenshen@redhat.com Vincent Shen
              Xiaojie Yuan Xiaojie Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: