Skip to content

Commit

Permalink
ocp4: openvswitch's conf.db and lock are now owned by a different group
Browse files Browse the repository at this point in the history
This updates the appropriate rules to reflect a recent change in
openvswitch that changes the group ownership of the aforementioned
files. This was hitting CI.

Signed-off-by: Juan Antonio Osorio Robles <jaosorior@redhat.com>
  • Loading branch information
JAORMX committed Jan 26, 2021
1 parent 575cd6e commit db4629e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prodtype: ocp4
title: 'Verify Group Who Owns The Open vSwitch Configuration Database'

description: |-
{{{ describe_file_group_owner(file="/etc/openvswitch/conf.db", group="openvswitch") }}}
{{{ describe_file_group_owner(file="/etc/openvswitch/conf.db", group="hugetlbfs") }}}
rationale: |-
CNI (Container Network Interface) files consist of a specification and libraries for
Expand All @@ -21,13 +21,13 @@ identifiers:
references:
cis: 1.1.9

ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/conf.db", group="openvswitch") }}}'
ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/conf.db", group="hugetlbfs") }}}'

ocil: |-
{{{ ocil_file_group_owner(file="/etc/openvswitch/conf.db", group="openvswitch") }}}
{{{ ocil_file_group_owner(file="/etc/openvswitch/conf.db", group="hugetlbfs") }}}
template:
name: file_groupowner
vars:
filepath: /etc/openvswitch/conf.db
filegid: '800'
filegid: '801'
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prodtype: ocp4
title: 'Verify Group Who Owns The Open vSwitch Configuration Database Lock'

description: |-
{{{ describe_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="openvswitch") }}}
{{{ describe_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="hugetlbfs") }}}
rationale: |-
CNI (Container Network Interface) files consist of a specification and libraries for
Expand All @@ -21,13 +21,13 @@ identifiers:
references:
cis: 1.1.9

ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="openvswitch") }}}'
ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="hugetlbfs") }}}'

ocil: |-
{{{ ocil_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="openvswitch") }}}
{{{ ocil_file_group_owner(file="/etc/openvswitch/.conf.db.~lock~", group="hugetlbfs") }}}
template:
name: file_groupowner
vars:
filepath: /etc/openvswitch/.conf.db.~lock~
filegid: '800'
filegid: '801'
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prodtype: ocp4
title: 'Verify Group Who Owns The Open vSwitch Persistent System ID'

description: |-
{{{ describe_file_group_owner(file="/etc/openvswitch/system-id.conf", group="openvswitch") }}}
{{{ describe_file_group_owner(file="/etc/openvswitch/system-id.conf", group="hugetlbfs") }}}
rationale: |-
CNI (Container Network Interface) files consist of a specification and libraries for
Expand All @@ -21,13 +21,13 @@ identifiers:
references:
cis: 1.1.9

ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/system-id.conf", group="openvswitch") }}}'
ocil_clause: '{{{ ocil_clause_file_group_owner(file="/etc/openvswitch/system-id.conf", group="hugetlbfs") }}}'

ocil: |-
{{{ ocil_file_group_owner(file="/etc/openvswitch/system-id.conf", group="openvswitch") }}}
{{{ ocil_file_group_owner(file="/etc/openvswitch/system-id.conf", group="hugetlbfs") }}}
template:
name: file_groupowner
vars:
filepath: /etc/openvswitch/system-id.conf
filegid: '800'
filegid: '801'

0 comments on commit db4629e

Please sign in to comment.