public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bluez] rawhide: mesh: use system unit scriptlets for bluetooth-mesh.service
@ 2026-11-02 22:00 Michel Lind
0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-11-02 22:00 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bluez
Branch : rawhide
Commit : 2123d97dbd1912406a12ddfee219c564892bc42a
Author : Michel Lind <salimma@fedoraproject.org>
Date : 2026-11-02T21:26:13+00:00
Stats : +6/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bluez/c/2123d97dbd1912406a12ddfee219c564892bc42a?branch=rawhide
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
---
diff --git a/bluez.spec b/bluez.spec
index e202ddc..b5017af 100644
--- a/bluez.spec
+++ b/bluez.spec
@@ -229,10 +229,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
@@ -351,6 +354,7 @@ fi
%changelog
* Mon Nov 02 2026 Michel Lind <salimma@fedoraproject.org> - 5.87^20260918gitb5ed56d8c-4
- hid2hci: don't fail %%post when udevadm is unavailable
+- mesh: use system unit scriptlets for bluetooth-mesh.service
* Fri Sep 18 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 5.87^20260918gitb5ed56d8c-3
- Update to the latest b5ed56d8c snapshot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 22:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 22:00 [rpms/bluez] rawhide: mesh: use system unit scriptlets for bluetooth-mesh.service Michel Lind
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox