[Bug 279241] net/mDNSResponder: add resume action to rc scripts

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 May 2024 06:25:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279241

            Bug ID: 279241
           Summary: net/mDNSResponder: add resume action to rc scripts
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: mazhe@alkumuna.eu
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Created attachment 250890
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250890&action=edit
Add extra command "resume" to mdnsd/mdnsresponderposix rc scripts

Hi,

I'm playing a bit with suspend/resume (through acpiconf -s3) and notice that
mdnsd & mdnsresponderposix seems to need a restart after resume.

rc.resume already supports checking rc scripts needing an action after resume
("resume" extra command), including those installed through ports -- as far as
I can see, only ntpd use this for now.

I wrote the necessary code, would you consider applying it?

QA: no makefile/build/plist changes

New action can be tested running "/etc/rc.resume acpi 3" -> mdnsd &
mdnsresponder posix should be restarted if enabled.

Regards,

M. Volat

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