From f5c53fd59ae8ddffde6b3a03a48e3ca1e9a907c1 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 22 Jan 2025 12:56:46 +0100 Subject: [PATCH] Fix ConfigurationDirectory startup warning Related: RHEL-71798 --- bluez.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bluez.spec b/bluez.spec index 50474b6..d8340c1 100644 --- a/bluez.spec +++ b/bluez.spec @@ -6,7 +6,7 @@ Name: bluez Version: 5.72 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Bluetooth utilities License: GPLv2+ URL: http://www.bluez.org/ @@ -232,7 +232,9 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/ %files %license COPYING %doc AUTHORS ChangeLog -%dir %{_sysconfdir}/bluetooth +# bluetooth.service expects configuration directory to be read only +# https://github.com/bluez/bluez/issues/329#issuecomment-1102459104 +%attr(0555, root, root) %dir %{_sysconfdir}/bluetooth %config %{_sysconfdir}/bluetooth/main.conf %{_bindir}/avinfo %{_bindir}/bluemoon @@ -324,6 +326,10 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/ %{_userunitdir}/obex.service %changelog +* Wed Jan 22 2025 Bastien Nocera - 5.72-3 +- Fix ConfigurationDirectory startup warning + Related: RHEL-71798 + * Mon Jul 15 2024 David Marlin - 5.72-2 - Bump release to rebuild for RHEL-9.5