Bug 16753 - autofs no longer converts "auto_" to "auto."
autofs no longer converts "auto_" to "auto."
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: autofs (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-22 17:24 EDT by mandrews
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-23 11:44:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description mandrews 2000-08-22 17:24:49 EDT
The sun implementation of autofs converts auto_* names in the auto.master
map to auto.* map names. The autofs in redhat 6.2 made this conversion too.
While it seems a ridiculous hack, it would be nice to mantain this
compatibility.

Martin
Comment 1 mandrews 2000-08-23 08:24:55 EDT
Here is a patch to /etc/rc.d/init.d/autofs that restores the old behavior:

*** /etc/Old/autofs	Wed Aug 23 07:18:03 2000
--- /etc/init.d/autofs	Wed Aug 23 07:19:34 2000
***************
*** 121,127 ****
                                  map=
                          else
                                  maptype=yp
!                                 map=`basename $map`
                          fi
                  fi
                  if echo $options | grep -- '-t' >/dev/null 2>&1 ; then
--- 121,127 ----
                                  map=
                          else
                                  maptype=yp
!                                 map=`basename $map | sed 's/^auto_/auto./'`
                          fi
                  fi
                  if echo $options | grep -- '-t' >/dev/null 2>&1 ; then
Comment 2 Glen Foster 2000-08-23 11:44:00 EDT
Nalin, please apply this patch for backwards-compatibility ASAP.
Comment 3 Nalin Dahyabhai 2000-08-23 14:31:42 EDT
Fixed in 3.1.4-5.  Please test the packages in
http://people.redhat.com/nalin/test/, and let me know if you see any other
problems.
Comment 4 mandrews 2000-08-23 15:31:59 EDT
The new test rpm (autofs-3.1.5-5.i386.rpm ) fixes this problem. But I noted 
that it requires the openldap package to be installed (which the old one did 
not).
Comment 5 Nalin Dahyabhai 2000-08-23 16:01:27 EDT
The openldap package only contains the shared libraries.  It has been added to
the base for Sendmail.

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