Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit dbb94aa

Browse files
author
Micah Abbott
authored
selinux_verify: stop checking backup files (#176)
New composes done with `rpm-ostree` will have the backups of the `passwd` removed, per coreos/rpm-ostree#693. This will cause the `selinux_verify` role to fail. Since we are already checking the primary file, consensus says that it is safe to remove the checks on that particular backup, as well as the other backups of `group`, `shadow`, and `gshadow`.
1 parent 6e80c52 commit dbb94aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

roles/selinux_verify/vars/common.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,9 @@ common_files:
1111
- { key: '/etc/hosts.allow', value: 'system_u:object_r:net_conf_t:s0' }
1212
- { key: '/etc/hosts.deny', value: 'system_u:object_r:net_conf_t:s0' }
1313
- { key: '/etc/group', value: 'system_u:object_r:passwd_file_t:s0' }
14-
- { key: '/etc/group-', value: 'system_u:object_r:passwd_file_t:s0' }
1514
- { key: '/etc/passwd', value: 'system_u:object_r:passwd_file_t:s0' }
16-
- { key: '/etc/passwd-', value: 'system_u:object_r:passwd_file_t:s0' }
1715
- { key: '/etc/gshadow', value: 'system_u:object_r:shadow_t:s0' }
18-
- { key: '/etc/gshadow-', value: 'system_u:object_r:shadow_t:s0' }
1916
- { key: '/etc/shadow', value: 'system_u:object_r:shadow_t:s0' }
20-
- { key: '/etc/shadow-', value: 'system_u:object_r:shadow_t:s0' }
2117
- { key: '/usr/sbin/NetworkManager', value: 'system_u:object_r:NetworkManager_exec_t:s0' }
2218
- { key: '/usr/bin/ostree', value: 'system_u:object_r:install_exec_t:s0' }
2319
- { key: '/usr/bin/rpm-ostree', value: 'system_u:object_r:install_exec_t:s0' }

0 commit comments

Comments
 (0)