From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 24 01:35:20 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAEF01065679; Wed, 24 Nov 2010 01:35:20 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 82C3E8FC1A; Wed, 24 Nov 2010 01:35:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAO1ZKNK087886; Wed, 24 Nov 2010 01:35:20 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAO1ZKNC087882; Wed, 24 Nov 2010 01:35:20 GMT (envelope-from arundel) Date: Wed, 24 Nov 2010 01:35:20 GMT Message-Id: <201011240135.oAO1ZKNC087882@freefall.freebsd.org> To: arundel@FreeBSD.org, freebsd-bugs@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: misc/60503: [modules] small error in modules installation X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 01:35:20 -0000 Synopsis: [modules] small error in modules installation State-Changed-From-To: open->closed State-Changed-By: arundel State-Changed-When: Wed Nov 24 01:29:40 UTC 2010 State-Changed-Why: As Ruslan noticed there are millions of wonderful ways of shooting yourself in the foot. Deleting the directory ${KMODDIR} points to is one of them. For the average user kernel module will be installed to /boot/kernel/ which will be created by mtree. if you decide to either delete that directory or point ${KMODDIR} to a non-existing directory you *will* run into problems. FreeBSD doesn't keep you from doing such magical tricks, but you cannot expect it to have a safety belt for every imaginable situation. http://www.freebsd.org/cgi/query-pr.cgi?pr=60503