/etc/rc.d/dumpon runs before netdump can be configured

Ryan Stone rysto32 at gmail.com
Thu Sep 12 15:32:38 UTC 2019


Hi everyone,

I recently tried enabling the netdump client on a system via rc.conf.
However, this isn't working for me because dumpon runs before netif,
and netdump requires the interface to have been ifconfig'ed up before
it will allow netdump to be enabled on an interface.

As a result, I get this message during boot, and have to manually run
"service dumpon start" after boot to get netdump configured.

dumpon: Unable to configure netdump because the interface's link is down.

I'm not sure what the best way to clean this up is.  Moving dumpon to
later in the boot process would be a POLA violation for people dumping
to disk.  Perhaps we need a separate netdump_client rc.d script?

Thanks,
Ryan


More information about the freebsd-hackers mailing list