Index: usr.sbin/rpcbind/rpcbind.c =================================================================== --- usr.sbin/rpcbind/rpcbind.c +++ usr.sbin/rpcbind/rpcbind.c @@ -763,12 +763,18 @@ { close(rpcbindlockfd); #ifdef WARMSTART + /* + * It is not async-signal safe to use syslog, vfprintf, or FILE + * objects. + */ +#if 0 syslog(LOG_ERR, "rpcbind terminating on signal %d. Restart with \"rpcbind -w\"", signum); write_warmstart(); /* Dump yourself */ #endif - exit(2); +#endif + _exit(2); } void