Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Good morning,

I came across a problem in SLES 11.2 x86_64 where the automount daemon parses a NIS map file incorrectly. It seems to be working fine in SLES 11.1 32 bit, and I cannot see any difference in the configurations of the two systems.

What happens:


/nethome auto.nethome

ypcat -k auto.nethome:

roland -hard,intr,noacl,nocto,rw,noatime,nodiratime,rsize=8192,wsize=8192      palermo:/home/san1/roland

But when I start the autofs, I see the following errors in /var/log/messages:

automount[5506]: syntax error in map near [ roland -hard,intr,noacl,nocto,rw,noatime,nodiratime,rsize=8192,wsize=8192     palermo: ]
automount[5506]: syntax error in map near [ home ]
automount[5506]: syntax error in map near [ san1 ]
automount[5506]: syntax error in map near [ roland ]

It looks as if the automounter has trouble in parsing the location as host:pathname. As if the slash is rejected by the lexer. As this all is working well on all other nodes (all 32 bit, various Linux flavours, even Solaris), I suspect the problem is at the 64 bit SLES box, rather than with the data.

Does anybody have an idea what the problem is and how to fix?

At the moment I created a local map file by

ypcat -k auto.nethome > /etc/auto.local

and changed the /etc/auto.master to

/nethome /etc/auto.local

And that works, but can only be a temporary solution.

Thanks for any advice!


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.