diff options
author | Jan Jansky <jjansky@redhat.com> | 2023-03-31 13:29:35 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2023-03-31 12:28:07 -0400 |
commit | b4dbe0bbb96c5fc356414e8aa447b42be2a17154 (patch) | |
tree | 2a64f7f74d7e289f56af407ac7e94df0476c97ff /tmpfiles | |
parent | f3576ceec81726671cd323043359c138ff82ecd6 (diff) | |
download | sos-b4dbe0bbb96c5fc356414e8aa447b42be2a17154.tar.gz |
[tmpfiles] ignoring cleanup on /var/tmp/sos*
tmpfiles relocated to separated folder, added tmpfilesd-sos-rh.conf
which ignoring tmpfiles clean on /var/tmp/sos*.
This is introduced due to wrong selinux context on some collected
files in temporal /var/tmp/sos or /var/tmp/sosreport which generate
avc denials from tmpfiles or even repeated denials when --build
option is used.
Related: RHBZ#1664651
Resolves: #3180
Signed-off-by: Jan Jansky <jjansky@redhat.com>
Diffstat (limited to 'tmpfiles')
-rw-r--r-- | tmpfiles/tmpfilesd-sos-rh.conf | 4 | ||||
-rw-r--r-- | tmpfiles/tmpfilesd-sos.conf | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tmpfiles/tmpfilesd-sos-rh.conf b/tmpfiles/tmpfilesd-sos-rh.conf new file mode 100644 index 00000000..11d56d7e --- /dev/null +++ b/tmpfiles/tmpfilesd-sos-rh.conf @@ -0,0 +1,4 @@ +# Ignore the contents of extracted sosreport directories. +# +# Type Path Mode User Group Age Argument +x /var/tmp/sos* diff --git a/tmpfiles/tmpfilesd-sos.conf b/tmpfiles/tmpfilesd-sos.conf new file mode 100644 index 00000000..f76b357b --- /dev/null +++ b/tmpfiles/tmpfilesd-sos.conf @@ -0,0 +1,4 @@ +# Cleaning the contents of extracted sosreport directories. +# +# Type Path Mode User Group Age Argument +e /var/tmp/sosreport* - - - 30d |