Date: Tue, 23 Oct 2007 14:58:16 +1000 From: John Marshall <John.Marshall@riverwillow.com.au> To: freebsd-rc@freebsd.org Subject: How to debug rc hangs? Message-ID: <471D7F68.8070308@riverwillow.com.au>
next in thread | raw e-mail | index | archive | help
A few weeks ago I upgraded a server from 6.2-RELEASE to 7.0-PRERELEASE. I re-built all ports on the new platform. During startup, the following servers fail to start: - mountd - squid - cvsupd The system boots happily and rc does its thing up until "Starting mountd" and sulks until I intervene with ctrl-C; at which point everything continues until "Starting squid" (interrupt) and then "Starting cvsupd" (interrupt). After startup has completed, the following work just fine: - /etc/rc.d/mountd start - /usr/local/etc/rc.d/squid start - /usr/local/etc/rc.d/cvsupd start I held out until 7.0-BETA1 and upgraded to that but still have the same symptoms. I have tried setting rc_debug="YES" in rc.conf but that doesn't show me any more than I already know (e.g. last line before mountd hang is: "/etc/rc: DEBUG: run_rc_command: doit: /usr/sbin/mountd -l" So, are there any clever configuration switches to aid with this debugging? Otherwise I'll just plough through manually editing rc.conf "foo_enable" settings until I discover the PROVIDE/REQUIRE loop (or something else). Thank you. -- John Marshall
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?471D7F68.8070308>