From ff221517f84d95f2c62de347db594f4a1b342e38 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 3 Oct 2008 14:25:11 +0000 Subject: [PATCH] New option -D to daemonize spamd-setup for early bootup use. This avoids spamd-setup hanging if there are various (network?) issues and the system not proceeding to multiuser so that this can be debugged. We do not use & for startup in /etc/rc because this makes the spamd-setup a child of the rc scripts after bootup (that is gross) Problem reported in PR 5864, change discussed with beck, ok millert --- src/etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index 350a19a0..d86621c3 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.318 2008/07/09 20:23:47 djm Exp $ +# $OpenBSD: rc,v 1.319 2008/10/03 14:25:11 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -722,7 +722,7 @@ if [ X"${spamd_flags}" != X"NO" ]; then spamd_flags="${spamd_flags} -b" fi echo -n ' spamd'; eval /usr/libexec/spamd ${spamd_flags} - /usr/libexec/spamd-setup + /usr/libexec/spamd-setup -D if [ X"${spamd_black}" = X"NO" ]; then echo -n ' spamlogd' /usr/libexec/spamlogd ${spamlogd_flags}