Bug 54971

Summary: /etc/rc.d/mountcritermote requires ldconfig for non-ascii charset support in smbfs
Product: Base System Reporter: Slawek <Slawek>
Component: confAssignee: Doug Barton <dougb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.1-CURRENT   
Hardware: Any   
OS: Any   

Description Slawek 2003-07-28 10:30:15 UTC
	Using non-ascii characters in file names requires shared libiconv.so to
	be loaded by mount_smbfs, so ldconfig should be run before
	mountcritremote.

Fix: 

ldconfig should be added to the prerequisites list
	/etc/rc.d/mountcritremote, like this:

	# REQUIRE: NETWORKING root mountcritlocal ldconfig
How-To-Repeat: 	Add charsets=iso8859-2:cp1250 to some mounted-at-boot share definition in /etc/nsmb.conf
Comment 1 Yar Tikhiy freebsd_committer freebsd_triage 2003-10-06 17:42:48 UTC
Responsible Changed
From-To: freebsd-bugs->mtm

Over to the rc.d maintainer.
Comment 2 Doug Barton freebsd_committer freebsd_triage 2006-02-22 01:54:40 UTC
State Changed
From-To: open->closed


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. 


Comment 3 Doug Barton freebsd_committer freebsd_triage 2006-02-22 01:54:40 UTC
Responsible Changed
From-To: mtm->dougb


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