Bug 2555043 - Review Request: taskhealth - Linux thread health monitoring (client-daemon)
Summary: Review Request: taskhealth - Linux thread health monitoring (client-daemon)
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-NEEDSPONSOR
TreeView+ depends on / blocked
 
Reported: 2026-10-18 15:45 UTC by luhaoran
Modified: 2026-11-01 12:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description luhaoran 2026-10-18 15:45:51 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/fedora-rawhide-x86_64/11168091-taskhealth/taskhealth.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/fedora-rawhide-x86_64/11168091-taskhealth/taskhealth-0.2.1-1.fc46.src.rpm
Description: TaskHealth is a client-daemon thread health monitor for Linux
user-space, inspired by QNX HAM. The daemon (taskhealthd) accepts registrations
from multiple processes via Unix domain socket and performs cross-process
heartbeat monitoring, /proc probes, and alerting. Detects unexpected thread
exits, futex deadlocks, and lock-wait timeouts.
Fedora Account System Username: luhaoran


Reproducible: Always

Comment 1 Artur Frenszek-Iwicki 2026-10-19 15:39:53 UTC
> URL:            https://github.com/LuHaoran1981/taskhealth
> Source0:        https://github.com/LuHaoran1981/taskhealth/releases/download/v%{version}/%{name}-%{version}.tar.gz
You can use "Source0: %{URL}/releases/..." to avoid duplicating the repository address.

> %build
> %set_build_flags
Calling %set_build_flags manually is not needed since Fedora 36.
https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck

> %make_build all-full prefix=/usr libdir=%{_libdir}
You can use %{_prefix} here.

> make install DESTDIR=%{buildroot} prefix=/usr libdir=%{_libdir} sbindir=%{_sbindir}
Using %make_install will automatically set DESTDIR for you.
Also, same thing with %{_prefix} as above.

> %files
> %{_libdir}/libtaskhealth.a
Packaging static libraries is discouraged.
If you want to keep it, please add "Provides: libtaskhealth-static" to the devel subpackage.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries

Comment 2 luhaoran 2026-10-19 17:07:04 UTC
Thanks for the review! All five points are fixed:

1. Source0 now uses %{URL} to avoid duplicating the repository address.
2. Removed the manual %set_build_flags call (not needed since F36).
3. Replaced /usr with %{_prefix} in %make_build.
4. Switched to %make_install, using %{_prefix} as well.
5. Added "Provides: libtaskhealth-static" to the devel subpackage.

Updated:
Spec URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/srpm-builds/11173453/taskhealth.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/srpm-builds/11173453/taskhealth-0.2.1-1.src.rpm

Copr build: https://copr.fedorainfracloud.org/coprs/luhaoran/taskhealth/build/11173453/

Comment 3 luhaoran 2026-11-01 12:14:51 UTC
Updated to 0.2.2 (build succeeded on fedora-rawhide-x86_64):

Spec URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/srpm-builds/11240158/taskhealth.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/luhaoran/taskhealth/srpm-builds/11240158/taskhealth-0.2.2-1.src.rpm
Copr build: https://copr.fedorainfracloud.org/coprs/build/11240158

Changes since 0.2.1:
- Allow non-root clients to connect to the daemon socket (socket mode 0666 + SO_PEERCRED anti-spoofing)
- Add %check running the daemon and integration test suites
- Harden the taskhealthd systemd unit
- Man pages for taskhealth(7), taskhealthd(8), taskhealth-demo(1)

I'd also like to request sponsorship - this is my first Fedora package and I need a sponsor (FE-NEEDSPONSOR). Would you be willing to sponsor me, or point me to someone who can?


Note You need to log in before you can comment on or make changes to this bug.