Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I'm having trouble configuring the machine to use nfs. I have installed autofs, and tried to configure it. But the problem is that the configuration I use on OpenSuSe machines isn't working.

First problem was a missing line in nsswitch.conf:

I added the line: automount: nis files

But now I get this:

automount[2285]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set

This is a local network setup, therefore I'm completely confused by this error. Why should nfs client require a domain name?

share|improve this question
up vote 1 down vote accepted

I fixed the problem by executing hostname computer_name. I really have no idea why this wasn't set up during installation.

share|improve this answer

The answer is right in the logmessage, the domainname of the system is not set: just try:

domainname localdomain

nfs4 needs the domainname ... Probably you are mounting an nfs4 share. Check your NAS or whatever

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.