Bug #1963
closedininite rc loop
0%
Description
I've been setting up a DF-BSD home server. After compiling netatalk,
avahi, and some convenience tools (sudo, vim, screen, zsh and
pkg_rolling-replace, I think) I wanted to reboot.
Now the machine keeps repeating some part of the boot process (see
screenshot at [1]). There's a short delay after "loading devfs rules";
when I press ctrl+c then I can break the cycle.
Subsequent actions are taken as often as the cycle ran (with some
services complaining that they're already running, other failing to
bind to ports etc.).
I can ssh into the machine or login on the console. Not all
filesystems are mounted, e.g. /home, /tmp, /var/tmp are missing, while
/, /usr, /var and /dev are there (the default HAMMER layout made by
the installer). I can mount the rest with mount -a just fine. (this
may be an artifact of ctrl+c, it appears the system tries to unmount
everything but fails on usr, dev and var)
The system is more-or-less usable for a time then, but either becomes
unresponsive or simply panics due to ressource exhaustion.
I have symlinked /usr/pkg/etc to /etc and I had linked
/usr/pkg/share/examples/rc.d to /etc/rc.d, although I have tried to
untangle the latter (which didn't help). Comparing /etc/rc.d with
/usr/src/etc/rc.d the file names match except for Makefile and
udevd_early missing from /etc/rc.d (from what I can tell the latter
was introduced only after 2.8.2).
I've attached my rc.conf, the output from "rcorder rcorder -s nostart
/etc/rc.d/*", dmesg and /var/log/messages. uname -a is:
DragonFly zz.2pktfkt.net 2.8-RELEASE DragonFly v2.8.2-RELEASE #2: Fri
Oct 29 08:03:52 PDT 2010
root@test29.backplane.com:/usr/obj/usr/src-misc/sys/X86_64_GENERIC_SMP
x86_64
PS: concerning the symlinking: I know this is bad, and may well have
caused this, but I think it should work (because without a
corresponding entry in rc.conf, each script should be a noop) and it
did work very well on NetBSD.
Files