From nobody@FreeBSD.org  Sat Jun 13 15:50:50 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B0DB9106566C
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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" <phcoder@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: zfs.ko module doesn't ignore zpool.cache filename supplied by loader
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         135546
>Category:       kern
>Synopsis:       [zfs] zfs.ko module doesn't ignore zpool.cache filename supplied by loader
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-fs
>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:  Sat Jun 13 16:33:07 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jun 13 16:32:52 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135546 
>Unformatted:
