Date: Thu, 7 Dec 1995 23:56:35 GMT From: Mark Valentine <mark@linus.demon.co.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/874: kernel installation can break ps and friends Message-ID: <199512072356.XAA01296@linus.demon.co.uk> Resent-Message-ID: <199512080050.QAA07960@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512072356.XAA01296>