Package: autofs
Version: 4.1.4-13
Severity: important

Good evening.

I installed this new computer from scratch via debian netinstall CD.

Afterwards, I installed by apt-get nis, nfs and than autofs (in this
particular order). 

I made the appropriate changes to /etc/nsswitch.conf, in order to read
autofs from NIS maps and restarted autofs by its startup script.   It
worked as expected and read in all needed maps (auto.master and
auto.home, amongst others) from nis maps.

Changing to another virtual console, I was able to login with my user
account.  autofs loaded the correct home file system via nfs.

After reboot, I was still able to login (so nis was working
correctly), but autofs didn't mount the file system and the shell
started with / as HOME instead.

Reason seems to be, that first /etc/rc2.d/S19autofs and afterwards
/etc/rc2.d/S19nis is executed and hence no nis maps are available to
autofs.

verleihnix:~# /etc/init.d/autofs status
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout=300 /var/autofs/misc file /etc/auto.misc 
/usr/sbin/automount --timeout=300 /gallien yp auto.gallien nfsvers=3,tcp 
/usr/sbin/automount --timeout=300 /home yp auto.home nfsvers=3,tcp 
/usr/sbin/automount --timeout=300 /var/autofs/net program
/etc/auto.net 

Active Mount Points:
--------------------

verleihnix:~# cd ~jan
-bash: cd: /home/majestix/jan: Datei oder Verzeichnis nicht gefunden

You see, autofs refuses to mount /home/majestix, as appropriate.

Reloading the maps of autofs works well:

verleihnix:~# /etc/init.d/autofs reload
Reloading automounter: checking for changes ... 
Started automounter: /var/autofs/misc
Started automounter: /gallien
Started automounter: /home
Started automounter: /var/autofs/net
verleihnix:~# /etc/init.d/autofs status
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout=300 /var/autofs/misc file /etc/auto.misc 
/usr/sbin/automount --timeout=300 /gallien yp auto.gallien nfsvers=3,tcp 
/usr/sbin/automount --timeout=300 /home yp auto.home nfsvers=3,tcp 
/usr/sbin/automount --timeout=300 /var/autofs/net program /etc/auto.net 

Active Mount Points:
--------------------
/usr/sbin/automount --pid-file=/var/run/autofs/_var_autofs_misc.pid 
--timeout=300 /var/autofs/misc file /etc/auto.misc
/usr/sbin/automount --pid-file=/var/run/autofs/_gallien.pid --timeout=300 
/gallien yp auto.gallien nfsvers=3,tcp
/usr/sbin/automount --pid-file=/var/run/autofs/_home.pid --timeout=300 /home yp 
auto.home nfsvers=3,tcp
/usr/sbin/automount --pid-file=/var/run/autofs/_var_autofs_net.pid 
--timeout=300 /var/autofs/net program /etc/auto.net

verleihnix:~# cd ~jan
verleihnix:/home/majestix/jan# 

A suggestion could be, to start autofs after nis is fired up.  As nis
needs the portmapper and thus has start number 18, 19 should be ok for
nis.  So autofs should become 20?!

Thank you for your ongoing support.  It is much appreciated.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages autofs depends on:
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
Ii  ucf                    2.0020            Update Configuration File: preserv

Versions of packages autofs recommends:
ii  nfs-common             1:1.0.10-6+etch.1 NFS support files common to client

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to