> On Jul 2, 2021, at 2:15 PM, Zack Newman <z...@philomathiclife.com> wrote:
> 
> According to DHCPCD(8):
> 
> -U, --dumplease [interface]
>              Dumps the current lease for the interface to stdout.  If no
>              interface is given then all interfaces are dumped.  Use the -4 or
>              -6 flags to specify an address family.  If a lease is piped in
>              via standard input then that is dumped.  In this case, specifying
>              an address family is mandatory.
> 
> So piping in the actual lease should work. Having said that, dhcpcd -U6 alc0, 
> dhcpcd -U alc0, dhcpcd -U6, and dhcpcd -U all timeout:
> 
> beta# dhcpcd -U6 alc0
> dhcpcd_readdumptimeout
> beta# dhcpcd -U alc0
> dhcpcd_readdumptimeout
> beta# dhcpcd -U6     
> dhcpcd_readdumptimeout
> beta# dhcpcd -U  
> dhcpcd_readdumptimeout
> 
> I understand not backporting it. I will live without being able to dump the 
> lease until then.

Please ignore my last reply^. I am an idiot and tested those commands before 
properly digesting what you said Stuart about passing an invalid interface 
first. I rebooted my computer, and sure enough dhcpcd -U alc0 outputted my 
lease information. Clearly the man page said “piped in” not "pass as an 
argument". Doh!

Sorry for my carelessness and haste, and thanks again for the informative reply 
about Linux vs. OpenBSD vis-à-vis SECCOMP vs. pledge and most importantly the 
easy edit to /etc/rc that allows my “unique” configuration to work.

Thanks,
Zack

Reply via email to