Skip to content

Commit

Permalink
Set default file context of /var/lib/authselect/backups to <<none>>
Browse files Browse the repository at this point in the history
Authselect creates a backup by copying files with preserving all
attributes so they can be correctly restored later, therefore files
with various types can be stored in authselect's backups directory.

Resolves: rhbz#2230508
  • Loading branch information
zpytela committed Sep 19, 2023
1 parent 50d7bc1 commit 1be91d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions policy/modules/kernel/files.fc
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ ifndef(`distro_redhat',`

/var/lib(/.*)? gen_context(system_u:object_r:var_lib_t,s0)

/var/lib/authselect/backups <<none>>

/var/lib/nfs/rpc_pipefs(/.*)? <<none>>

/var/lib/stickshift/.stickshift-proxy.d(/.*)? gen_context(system_u:object_r:etc_t,s0)
Expand Down

0 comments on commit 1be91d3

Please sign in to comment.