Red Hat Bugzilla – Bug 140273
auto.net broken if LANG is not C
Last modified: 2007-11-30 17:10:55 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
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):
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
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
< export LANG
then the mounts occur in the right order and all 4 file systems are
Actual Results: remote / mount point not visible
Expected Results: / mount should be visible.
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.
yes this script solves this problem