SUSE Support

Here When You Need Us

SLE10SP2 autofs4 client fails to mount share from autofs5 enabled server via NIS data

This document (7004502) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Desktop 10 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 2

Situation

A SLE10 SP2 based client with autofs 4.1.4-23.23 is not able to automount shares provided by a NIS server running autofs5. Manually mounting the NFS shares and querying the NIS data using commands like '/usr/bin/ypcat -k auto.home' is possible. 

Resolution

Workaround:

Edit /etc/init.d/autofs, search for line 137 and add the following entries:

+               else
+                   map=${map#*:}

Please alter this section as shown in the following example:

                 maptype=${map%%:*}
                 if test -z "$maptype" || ! is_maptype "$maptype"; then
                     maptype=yp
                else
                    map=${map#*:}
                 fi
                 if [ ! -z "$dir" -a ! -z "$map" -a x`echo "$map" | cut -c1` != 'x-' ] ; then

Save the changes and restart autofs using 'rcautofs restart'.

This issue is fixed as of SLES10SP4.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7004502
  • Creation Date: 23-Sep-2009
  • Modified Date:05-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.