autofs-4.1.4/samples/rc.autofs.in uses \B incorrectly in grep
commands.  \B actually means "not edge of word", but the script uses
it to mean "beginning of word".  Fortunately, due to the script
writer assuming "-" is part of a word, but this not being the case
when LANG==C, it works under most common circumstances (but
breaks with e.g. --no--verbose in /etc/sysconfig/autofs).
However, it may cease to work if more command-line args get added to
automount.

I've posted a tested patch against RHEL3 in bugzilla.redhat.com for
Fedora Devel.  I've also forward-ported the patch to autofs-4.1.4 and
included it here.  Note that although this is very similar to the
RHEL3 patch and may well work, unfortunately I have no reasonable way
of testing it.

Cheers,

David.


Attachment: rc.autofs.in.patch
Description: rc.autofs.in patch

-- 
David Johnson, [EMAIL PROTECTED], (510) 666-2983
System Administrator, International Computer Science Institute
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to