[Bug 293205] sysutils/smartmontools: "service smartd reload" does nothing when smartd was started by init

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 16 Feb 2026 14:53:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293205

            Bug ID: 293205
           Summary: sysutils/smartmontools: "service smartd reload" does
                    nothing when smartd was started by init
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: samm@FreeBSD.org
          Reporter: martin@lispworks.com
          Assignee: samm@FreeBSD.org
             Flags: maintainer-feedback?(samm@FreeBSD.org)

When smartd was started by init (i.e. after a reboot), the "service smartd
reload" command does nothing on FreeBSD 14.3-RELEASE-p8.

This is because smartd is ignoring SIGHUP:

$ procstat -i `cat /var/run/smartd.pid` | grep HUP
 1918 smartd           HUP      -I-

It starts working after "service smartd restart":

$ procstat -i `cat /var/run/smartd.pid` | grep HUP
14288 smartd           HUP      --C

-- 
You are receiving this mail because:
You are the assignee for the bug.