From 863e94abf16561f2f16aea373bfc5bc4dab2c58bbbfb0cca7c621d26cf62b49b Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Thu, 10 Feb 2022 10:24:00 +0000 Subject: [PATCH] Accepting request 953118 from home:fbonazzi:branches:security:SELinux - Fix bitlbee runtime directory (bsc#1193230) * add fix_bitlbee.patch OBS-URL: https://build.opensuse.org/request/show/953118 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=125 --- fix_bitlbee.patch | 12 ++++++++++++ selinux-policy.changes | 6 ++++++ selinux-policy.spec | 1 + 3 files changed, 19 insertions(+) create mode 100644 fix_bitlbee.patch diff --git a/fix_bitlbee.patch b/fix_bitlbee.patch new file mode 100644 index 0000000..2ce1749 --- /dev/null +++ b/fix_bitlbee.patch @@ -0,0 +1,12 @@ +Index: fedora-policy-20220124/policy/modules/contrib/bitlbee.fc +=================================================================== +--- fedora-policy-20220124.orig/policy/modules/contrib/bitlbee.fc ++++ fedora-policy-20220124/policy/modules/contrib/bitlbee.fc +@@ -9,6 +9,5 @@ + + /var/log/bip.* gen_context(system_u:object_r:bitlbee_log_t,s0) + +-/var/run/bitlbee\.pid -- gen_context(system_u:object_r:bitlbee_var_run_t,s0) +-/var/run/bitlbee\.sock -s gen_context(system_u:object_r:bitlbee_var_run_t,s0) ++/var/run/bitlbee(/.*)? gen_context(system_u:object_r:bitlbee_var_run_t,s0) + /var/run/bip(/.*)? gen_context(system_u:object_r:bitlbee_var_run_t,s0) diff --git a/selinux-policy.changes b/selinux-policy.changes index d0049cd..ed9d05f 100644 --- a/selinux-policy.changes +++ b/selinux-policy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 9 16:04:09 UTC 2022 - Filippo Bonazzi + +- Fix bitlbee runtime directory (bsc#1193230) + * add fix_bitlbee.patch + ------------------------------------------------------------------- Mon Jan 24 07:33:34 UTC 2022 - Johannes Segitz diff --git a/selinux-policy.spec b/selinux-policy.spec index 38c8223..137b9fd 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -139,6 +139,7 @@ Patch054: fix_kernel_sysctl.patch Patch055: fix_auditd.patch Patch056: fix_wine.patch Patch057: fix_hypervkvp.patch +Patch058: fix_bitlbee.patch Patch100: sedoctool.patch