From 3cffbac080d630a3093c35f242e922abf8ae7a1bf6accf05956604b8b0058873 Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Thu, 2 Dec 2021 12:37:10 +0000 Subject: [PATCH] Accepting request 935167 from home:jsegitz:branches:security:SELinux - Claim ownership for %{_sysconfdir}/selinux OBS-URL: https://build.opensuse.org/request/show/935167 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/restorecond?expand=0&rev=24 --- restorecond.changes | 5 +++++ restorecond.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/restorecond.changes b/restorecond.changes index f894cb5..287df4f 100644 --- a/restorecond.changes +++ b/restorecond.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 2 12:10:11 UTC 2021 - Johannes Segitz + +- Claim ownership for %{_sysconfdir}/selinux + ------------------------------------------------------------------- Mon Nov 15 15:48:12 UTC 2021 - Johannes Segitz diff --git a/restorecond.spec b/restorecond.spec index e8a62af..bd71fde 100644 --- a/restorecond.spec +++ b/restorecond.spec @@ -25,7 +25,7 @@ License: GPL-2.0-or-later Group: Productivity/Security URL: https://github.com/SELinuxProject/selinux.git Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz -Patch0: harden_restorecond.service.patch +Patch0: harden_restorecond.service.patch BuildRequires: dbus-1-glib-devel BuildRequires: libselinux-devel >= %{libselinux_ver} Requires: libselinux1 >= %{libselinux_ver} @@ -60,6 +60,7 @@ ln -s /sbin/service %{buildroot}%{_sbindir}/rcrestorecond %service_del_postun restorecond.service %files +%dir %{_sysconfdir}/selinux %config %{_sysconfdir}/selinux/restorecond.conf %config(noreplace) %{_sysconfdir}/selinux/restorecond_user.conf %{_sysconfdir}/xdg/autostart/restorecond.desktop