Package: autofs
Version: 4.1.3+4.1.4beta2-2
Severity: normal

If auto.master does not exist an the entry 'automount:      nis' in
nsswitch.conf is written with tabs as whitespace, the autofs init script
says "no automount maps defined".

The following patch fixes the problem for me, as does changing the 
whitespace in nsswitch.conf from "\t" to " ".

Regards

             Frieder Kalisch



*** /etc/init.d/autofs  2005-02-16 13:22:54.000000000 +0100
--- autofs      2005-02-21 10:35:32.000000000 +0100
***************
*** 108,114 ****
  {
      if grep -q '^automount:[ \t]' /etc/nsswitch.conf; then
          grep ^automount: /etc/nsswitch.conf | \
!                 sed -e 's/^.*://' -e 's/\[.*\]/ /g'
      else
          echo files
      fi
--- 108,114 ----
  {
      if grep -q '^automount:[ \t]' /etc/nsswitch.conf; then
          grep ^automount: /etc/nsswitch.conf | \
!                 sed -e 's/^.*:[ \t]*//' -e 's/\[.*\]/ /g'
      else
          echo files
      fi
                                                                                
                                                                                

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to 
de_DE)

Versions of packages autofs depends on:
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- debconf information excluded


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

Reply via email to