dhcpcd
dhcpcd copied to clipboard
dumplease redirect stdout blocked by rlimit (SIGXFSZ)
dumping lease to stdout works fine, but if I try to redirect it, rlimit kicks in and causes exit with file size signal.
dhcpcd --config /etc/dhcp/dhcpcd.conf --dumplease -4 eth0 > lease.txt
Program terminated with signal SIGXFSZ, File size limit exceeded.
if PRIVSEP but ctx->options is DHCPCD_DUMPLEASE, we should relax the rlimit to a reasonable lease file size while dumping the lease.