Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-1264

selinux policy is missing required permissions for managing ipsec configuration

    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-9
    • None
    • rhel-net-ovs-dpdk
    • ssg_networking
    • OVS/DPDK - FDP-25.C
    • 1
    • Important

      ovs-monitor-ipsec service doesn't have permissions to create /etc/ipsec.secrets or read content of /etc/ipsec.d/.  That makes it not possible to run opsenvswitch-ipsec systemd service with selinux in enforcing mode.

      At least the following extra permissions are required:

      allow openvswitch_t etc_t:dir add_name;
      allow openvswitch_t etc_t:file { create write };
      allow openvswitch_t ipsec_key_file_t:dir { getattr open read };
      

      First two are required to be able to create and update /etc/ipsec.secrets.  The last one is required to be able to read files included from /etc/ipsec.conf or created in /etc/ipsec.d/.

              aconole@redhat.com Aaron Conole
              pepalani@redhat.com Periyasamy Palanisamy
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: