Bug 140273 - auto.net broken if LANG is not C
Summary: auto.net broken if LANG is not C
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: 3
Hardware: i586
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Moyer
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-21 23:14 UTC by Steve Dum
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-04-07 05:42:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
auto.net from 4.1.4_beta2 (1.30 KB, text/plain)
2005-04-05 19:41 UTC, Jeff Moyer
no flags Details

Description Steve Dum 2004-11-21 23:14:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20040913

Description of problem:
The script /etc/auto.net does not return proper sort order - resulting 
in improper mount order if default system LANG setting is not C.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
Setup a machine (lets say its named first) that exports 4 filesystems,
 / /dos/c /dos/preserve /usr1.  go to another system (running fc3)
with the line
/net /etc/auto.net
uncommented in /etc/auto.master
then do a ls /net/first
At least with the default setting of LANG to en_US.UTF-8 the sort 
that is done in /etc/auto.net presents the filesystems to be mounted
as /dos/c /dos/recover / /usr1 which results in the mount of / not
occuring.  (You can see this by just running "/etc/auto.net first"
If one forces LANG to C in the script before the sort
24,25d23
< LANG=C
< export LANG
then the mounts occur in the right order and all 4 file systems are
visable.

Actual Results:  remote / mount point not visible

Expected Results:  / mount should be visible.

Additional info:

Comment 1 Jeff Moyer 2005-04-05 19:41:32 UTC
Created attachment 112727 [details]
auto.net from 4.1.4_beta2

Can you try the attached auto.net?  This is the version appearing in 4.1.4beta
and in the latest CVS.

Thanks

Comment 2 Steve Dum 2005-04-07 05:42:23 UTC
yes this script solves this problem


Note You need to log in before you can comment on or make changes to this bug.