For something like 4 years I have been using autofs to easily cross access my home directories on two desktop machines always networked(but often rebooted to Windows), and a laptop that is only sporadically hooked into my home network. This has worked through 12.3. I recently began upgrading these three machines, starting with the laptop, to 13.2. These have been clean installs of 13.2 from an iso image on DVD. Almost immediately I discovered that the previous autofs scheme no longer worked. IN this scheme, suggested by lwfinger several years ago, I edited the auto.master file with an appended line:
and then created the file auto.nfs on each machine to have the mounting pairs from the other two machines. For example, on 192.168.0.104 (a desktop machine) auto.nfs shows
In addition, on each machine, I went into nfsserver in Yast2 and explicitly exported the /home/lrk directory on that machine to the mount points on the other two hosts. Then when I cd’ed into the appropriate directory on one machine (say siracusa) /home/kyoto/home/lrk I was able to see my /home/lrk directory on the kyoto machine.
This autofs scheme no longer works. There are several strange things about the 13.2 setup compared to 12.3. The first is that man autofs claims that /etc/init.d/autofs controls operation of the automount(8) daemons. On 12.3 this script exists, on 13.2 it does not. If I check the installed software in 13.2, autofs is installed. if I go into Yast2 Services Manager, autofs shows as enabled but inactive. At a console, if I type
I obtain pretty much the same thing:
autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled)
Active: inactive (dead)
with the addition that it is both inactive, and dead. In Services Manager one is offered buttons to Start/Stop and Enable/Disable. Neither seems to change the listed status of autofs, and neither seems to make it work.
In 12.3 if I used chkconfig autofs I got a message that it was either on or off. In 13.2 chkconfig autofs returns autofs: unknown service
So my first question would be: Is the /etc/init.d/autofs script really missing, or is autofs invoked somewhere else?
My next question would be: What does it mean for a service to be “dead”? And how does it get that way?
Another confusing thing is that on 13.2 the file /etc/autofs.conf and /etc/sysconfig/autofs both exist, while only /etc/sysconfig/autofs exists in 12.3. They appear to be much the same in terms of listed options, but the files are different in format.
I have not found much light shed on any of these points in other posts regarding autofs under 13.2. However, if I have missed something obvious, I apologize.
I am prejudiced to get this autofs setup running again since it has been so convenient for so long, and autofs continues to be claimed as convenient as I have found it in the past. I would welcome any suggestions for analysis and fixes.