I've just converted a server from Fedora 14 to Ubuntu 12.04. "Converted" of course means a clean install.
I'm now trying to get all of the services back up and running and have some working pretty quickly, but I'm stymied on getting automount to mount work with a local directory. The new Ubuntu 12.04 machine serves home directories; previously, with Fedora, I had the filesystem mounted as /data/home so that /data/home/X will mount as /home/X when the user logs in. This works fine for other client hosts on the network, but doesn't work for the 12.04 machine (it worked with Fedora). I can't even find any indication in syslog that the mount is attempted.
One "obvious" thing which i have not yet attempted is to simply mount at /home instead of /data/home. With some (maybe only old) versions of Fedora, this created a problem because the automounter would try to mount on top of /home/X leaving the directory unusable.
Related to this, I have one Ubuntu 12.10 client host that doesn't like the NIS maps for /home. I had to "manually" enter the auto.home map into /etc/auto.home before it would work. Obviously, that's not ideal, but it works for now. However, that doesn't work on the server itself.
/etc/nsswitch.conf includes "automount: files nis"
Simply putting +auto.master (the default) in /etc/auto.master, which worked for Fedora, and I've tried adding an explicit "/home /etc/auto.home" with that file containing +auto.home or with the actual map of
Neither works. Nor does removing the host part.
So...how do I get Ubuntu to work as an NIS/NFS client with the automounter?