On Wed, 21 Oct 2026, Andrea Venturoli wrote:
root[59771]: /etc/rc: DEBUG: run_rc_command: doit: limits -C daemon /usr/local/cyrus/libexec/master -d -p /usr/local/cyrus/libexec/master -d -p /var/run/cyrus-master.pid master[59790]: couldn't dup fd 0: Bad file descriptor
/* we reserve fds for children to communicate with us, so they
better be available. */
for (fd = STATUS_FD; fd <= LISTEN_FD; fd++) {
close(fd);
if (dup(0) != fd) fatalf(2, "couldn't dup fd 0: %m");
}
This assumes stdin (0) is available and has been in the cyrus-imapd
code for 7 years.
Did FreeBSD 14 provide stdin to the programs starting in jail and now does not?
smime.p7s
Description: S/MIME Cryptographic Signature
