From owner-freebsd-bugs@FreeBSD.ORG Sat Jun 13 16:00:07 2009 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 B0EF51065670 for ; Sat, 13 Jun 2009 16:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 87FE28FC1D for ; Sat, 13 Jun 2009 16:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5DG07MJ075955 for ; Sat, 13 Jun 2009 16:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5DG07ko075954; Sat, 13 Jun 2009 16:00:07 GMT (envelope-from gnats) Resent-Date: Sat, 13 Jun 2009 16:00:07 GMT Resent-Message-Id: <200906131600.n5DG07ko075954@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Vladimir 'phcoder' Serbinenko" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0DB9106566C for ; Sat, 13 Jun 2009 15:50:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4EF728FC08 for ; Sat, 13 Jun 2009 15:50:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5DFooKR030556 for ; Sat, 13 Jun 2009 15:50:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5DFoouP030555; Sat, 13 Jun 2009 15:50:50 GMT (envelope-from nobody) Message-Id: <200906131550.n5DFoouP030555@www.freebsd.org> Date: Sat, 13 Jun 2009 15:50:50 GMT From: "Vladimir 'phcoder' Serbinenko" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/135546: zfs.ko module doesn't ignore zpool.cache filename supplied by loader 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: Sat, 13 Jun 2009 16:00:08 -0000 >Number: 135546 >Category: kern >Synopsis: zfs.ko module doesn't ignore zpool.cache filename supplied by loader >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 13 16:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Vladimir 'phcoder' Serbinenko >Release: 8.0-current-200905 >Organization: >Environment: >Description: When root is on zfs, zpool.cache is supplied by bootloader as a module with type /boot/zfs/zpool.cache zfs.ko search for it by checking the filename /boot/zfs/zpool.cache and not the type. >How-To-Repeat: Load zpool.cache from a file other than /boot/zfs/zpool.cache >Fix: Search for zpool.cache by the type and ignore the filename >Release-Note: >Audit-Trail: >Unformatted: