public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bluez] f45: mesh: use system unit scriptlets for bluetooth-mesh.service
Date: Tue, 03 Nov 2026 12:45:07 GMT [thread overview]
Message-ID: <179370990714.1.16561257765461500231.rpms-bluez-7afb3700c232@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bluez
Branch : f45
Commit : 7afb3700c2322ede1c23630f9ed25a157dbfda02
Author : Michel Lind <salimma@fedoraproject.org>
Date : 2026-11-03T10:46:10+00:00
Stats : +6/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bluez/c/7afb3700c2322ede1c23630f9ed25a157dbfda02?branch=f45
Log:
mesh: use system unit scriptlets for bluetooth-mesh.service
bluetooth-mesh.service is installed into %{_unitdir} (upstream installs
it via systemdsystemunit_DATA, WantedBy=bluetooth.target), but since
the mesh subpackage was introduced in 5.51 its scriptlets have used
%systemd_user_post/%systemd_user_preun, so the unit was never preset
or stopped ("Failed to preset unit: Unit bluetooth-mesh.service does
not exist"). Switch to the system unit macros and add the matching
%postun.
Assisted-by: Claude Code:claude-opus-5-5
(cherry picked from commit 2123d97dbd1912406a12ddfee219c564892bc42a)
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
---
diff --git a/bluez.spec b/bluez.spec
index e0ed33e..7997dd5 100644
--- a/bluez.spec
+++ b/bluez.spec
@@ -230,10 +230,13 @@ if command -v udevadm >/dev/null; then
fi
%post mesh
-%systemd_user_post bluetooth-mesh.service
+%systemd_post bluetooth-mesh.service
%preun mesh
-%systemd_user_preun bluetooth-mesh.service
+%systemd_preun bluetooth-mesh.service
+
+%postun mesh
+%systemd_postun_with_restart bluetooth-mesh.service
%post obexd
%systemd_user_post obex.service
@@ -352,6 +355,7 @@ fi
%changelog
* Tue Nov 03 2026 Michel Lind <salimma@fedoraproject.org> - 5.87+1.git789f6e154-3
- hid2hci: don't fail %%post when udevadm is unavailable
+- mesh: use system unit scriptlets for bluetooth-mesh.service
* Wed Sep 16 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 5.87+1.git789f6e154-2
- Rebase to latest upstream. Fixes CVE-2026-19774 (rhbz:2535010)
reply other threads:[~2026-11-03 12:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179370990714.1.16561257765461500231.rpms-bluez-7afb3700c232@fedoraproject.org \
--to=salimma@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox