FYI: Looks like the change done in the init script for 4.1.4beta2 broke this
again; I'll revert to the 4.1.3 version and upload.

BTW, there's also multiple people complaining about the new auto.* scripts
(see the Debian BTS), but I haven't had time to look into it yet.

/* Steinar */
-- 
Homepage: http://www.sesse.net/
--- Begin Message ---
Package: autofs
Version: 4.1.3+4.1.4beta2-2
Severity: grave

The diff for etc/init.d/autofs includes:
 #
 # Check for all maps that are to be loaded
 #
 function getschemes()
 {
-    if grep -q ^automount: /etc/nsswitch.conf; then
+    if grep -q '^automount:[ \t]' /etc/nsswitch.conf; then
         grep ^automount: /etc/nsswitch.conf | \
                 sed -e 's/^.*://' -e 's/\[.*\]/ /g'
     else
         echo files
     fi
 }

However, the new grep is broken:

| [EMAIL PROTECTED]:~$ grep '^automount:[ \t]' /etc/nsswitch.conf
| [EMAIL PROTECTED]:~$ grep '^automount:[       ]' /etc/nsswitch.conf
                                    ^^^^ < that's a tab
| automount:    files nis


-- 
Peter


--- End Message ---
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to