From zaks@era.pl  Mon Jul 28 02:29:47 2003
Return-Path: <zaks@era.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1717437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Jul 2003 02:29:47 -0700 (PDT)
Received: from ptcnat.era.pl (ptcnat.era.pl [213.158.197.100])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5D0BB43FDD
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Jul 2003 02:29:46 -0700 (PDT)
	(envelope-from zaks@era.pl)
Received: by localhost (Postfix, from userid 1001)
	id CC0311145C; Mon, 28 Jul 2003 11:29:43 +0200 (CEST)
Message-Id: <20030728092943.CC0311145C@localhost>
Date: Mon, 28 Jul 2003 11:29:43 +0200 (CEST)
From: Slawek@era.pl, "Zak <zaks"@era.pl
Reply-To: Slawek Zak <zaks@era.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: /etc/rc.d/mountcritermote requires ldconfig for non-ascii charset support in smbfs
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54971
>Category:       conf
>Synopsis:       /etc/rc.d/mountcritermote requires ldconfig for non-ascii charset support in smbfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 28 02:30:15 PDT 2003
>Closed-Date:    Wed Feb 22 02:01:26 GMT 2006
>Last-Modified:  Wed Feb 22 02:01:26 GMT 2006
>Originator:     Slawek Zak
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD thirst.corponet.era.pl 5.1-CURRENT FreeBSD 5.1-CURRENT #33: Mon Jul 7 16:04:27 CEST 2003 root@thirst.corponet.era.pl:/usr/obj/usr/src/sys/THIRST i386
	x86, libiconv-1.9.1_1
>Description:
	Using non-ascii characters in file names requires shared libiconv.so to
	be loaded by mount_smbfs, so ldconfig should be run before
	mountcritremote.
>How-To-Repeat:
	Add charsets=iso8859-2:cp1250 to some mounted-at-boot share definition in /etc/nsmb.conf
>Fix:
	ldconfig should be added to the prerequisites list
	/etc/rc.d/mountcritremote, like this:

	# REQUIRE: NETWORKING root mountcritlocal ldconfig
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->mtm 
Responsible-Changed-By: yar 
Responsible-Changed-When: Mon Oct 6 09:42:48 PDT 2003 
Responsible-Changed-Why:  
Over to the rc.d maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54971 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Wed Feb 22 01:54:40 UTC 2006 
State-Changed-Why:  

It's far more likely that libraries which should be 
included in ldconfig will be mounted on remote file 
systems, as opposed to the scenario you describe here. 

What you need to accomplish (late mounting of an smbfs 
share) is probably best done through an rc.local script, 
or even a custom rc.d script of your own now that the 
local scripts are included in the base rcorder. 


Responsible-Changed-From-To: mtm->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Wed Feb 22 01:54:40 UTC 2006 
Responsible-Changed-Why:  

Mike has been MIA for a while, so I'll take responsibility 
for cleaning this one up. 

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