conf/73834: Bad dependencies for /etc/rc.d/savecore
Nate Eldredge
nge at cs.hmc.edu
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
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 11 20:30:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Nate Eldredge
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
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
>Description:
/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.
>How-To-Repeat:
rcorder /etc/rc.d/*; observe that savecore comes after swap1
>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list