Date: Thu, 11 Nov 2004 12:28:44 -0800 (PST) From: Nate Eldredge <nge@cs.hmc.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/73834: Bad dependencies for /etc/rc.d/savecore Message-ID: <200411112028.iABKSiKL090586@mercury.lan> Resent-Message-ID: <200411112030.iABKUQkU022877@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411112028.iABKSiKL090586>