Bug 279241

Summary: net/mDNSResponder: add resume action to rc scripts
Product: Ports & Packages Reporter: Matthieu Volat <mazhe>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (sunpoet)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Add extra command "resume" to mdnsd/mdnsresponderposix rc scripts none

Description Matthieu Volat 2024-05-23 06:25:52 UTC
Created attachment 250890 [details]
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