From owner-freebsd-bugs Thu Dec 7 16:50:04 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA07988 for bugs-outgoing; Thu, 7 Dec 1995 16:50:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA07960 Thu, 7 Dec 1995 16:50:02 -0800 (PST) Resent-Date: Thu, 7 Dec 1995 16:50:02 -0800 (PST) Resent-Message-Id: <199512080050.QAA07960@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mark@linus.demon.co.uk Received: from linus.demon.co.uk (linus.demon.co.uk [158.152.10.220]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA07557 for ; Thu, 7 Dec 1995 16:46:38 -0800 (PST) Received: (from mark@localhost) by linus.demon.co.uk (8.7.3/8.7.3) id XAA01296; Thu, 7 Dec 1995 23:56:35 GMT Message-Id: <199512072356.XAA01296@linus.demon.co.uk> Date: Thu, 7 Dec 1995 23:56:35 GMT From: Mark Valentine Reply-To: mark@linus.demon.co.uk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/874: kernel installation can break ps and friends Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 874 >Category: misc >Synopsis: kernel installation can break ps and friends >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 7 16:50:01 PST 1995 >Last-Modified: >Originator: Mark Valentine >Organization: >Release: FreeBSD 2.2-CURRENT i386 >Environment: N/A >Description: The kernel makefile unconditionally sets kern.bootfile to point to the backup version of the old /kernel. If /kernel isn't what you booted, this fails to fix up things like ps. >How-To-Repeat: >> boot /kernel.stable # cd /sys/compile/MYKERNEL # make install # ps >Fix: Perhaps the following: if [ `sysctl -n kern.bootfile` = /kernel ]; then sysctl -w kern.bootfile=/kernel.old fi >Audit-Trail: >Unformatted: