conf/73834: Bad dependencies for /etc/rc.d/savecore

Nate Eldredge nge at
Thu Nov 11 12:30:27 PST 2004

>Number:         73834
>Category:       conf
>Synopsis:       Bad dependencies for /etc/rc.d/savecore
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 11 20:30:26 GMT 2004
>Originator:     Nate Eldredge
>Release:        FreeBSD 5.3-RELEASE i386
System: FreeBSD mercury.lan 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Nov 7 08:16:50 PST 2004 nate at mercury.lan:/medium/obj/medium/src/sys/MERCURY i386

/etc/rc.d/savecore should have its dependecies set such that it runs
before swap1.  Since the dump device is normally a swap partition,
if swap1 runs first, it will swapon that partition before savecore runs,
thus preventing it from recovering the core dump.

rcorder /etc/rc.d/*; observe that savecore comes after swap1
Should be trivial, but I don't know whether savecore should have a
BEFORE: swap1, or swap1 should depend on savecore, or whether some 
more generic dependency should be added.


More information about the freebsd-bugs mailing list