From nobody@FreeBSD.org  Mon Feb 27 11:48:19 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 86FB916A420
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Feb 2006 11:48:19 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4B79443D53
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Feb 2006 11:48:19 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1RBmIPQ012023
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Feb 2006 11:48:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k1RBmIbw012022;
	Mon, 27 Feb 2006 11:48:18 GMT
	(envelope-from nobody)
Message-Id: <200602271148.k1RBmIbw012022@www.freebsd.org>
Date: Mon, 27 Feb 2006 11:48:18 GMT
From: SANETO Takanori <sanewo@ba2.so-net.ne.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mount_smbfs can't load libiconv.so during boot up
X-Send-Pr-Version: www-2.3

>Number:         93899
>Category:       conf
>Synopsis:       mount_smbfs can't load libiconv.so during boot up
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 27 11:50:08 GMT 2006
>Closed-Date:    
>Last-Modified:  Mon Jan 14 00:57:59 UTC 2008
>Originator:     SANETO Takanori
>Release:        7.0-CURRENT
>Organization:
an individual
>Environment:
FreeBSD muse.sanewo.ddo.jp 7.0-CURRENT FreeBSD 7.0-CURRENT #822: Sun Jan 15 06:08:54 JST 2006     root@muse.sanewo.ddo.jp:/export/usr/obj/usr/src/sys/MUSE  i386
>Description:
When I have "charset=" setting in /etc/nsmb.conf, mount_smbfs (libsmb.so
actually) tries to load libiconv.so.

If it is called during boot (i.e. smbfs in fstab), it can't locate
libiconv.so and charset setting is ignored.
>How-To-Repeat:
Put smbfs entry in /etc/fstab.  Put charset setting in /etc/nsmb.conf.
Reboot the system.

>Fix:
Putting "REQUIRE: ldconfig" in /etc/rc.d/mountcritremote may solve the
problem. (I didn't try it yet)
>Release-Note:
>Audit-Trail:
>Unformatted:
