All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Smith <psmith@netezza.com>
To: autofs@linux.kernel.org
Subject: [patch] Sample auto.net provided with autofs is incorrect
Date: Tue, 01 May 2007 17:00:09 -0400	[thread overview]
Message-ID: <1178053209.20217.57.camel@psmithub> (raw)

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

Hi all;

Please see this bug I just reported against Ubuntu:

https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/111612

I believe this problem also exists in the original autofs package.
However, I can't seem to find the source anywhere; the freshmeat page
for autofs looks quite out of date and doesn't have any homepage/etc.
info, and Google searches came up empty as well.

I attach a patch below.

-- 
-----------------------------------------------------------------------------
 Paul D. Smith <psmith@netezza.com>                       http://netezza.com
 "Please remain calm--I may be mad, but I am a professional."--Mad Scientist
-----------------------------------------------------------------------------
      These are my opinions--Netezza takes no responsibility for them.

[-- Attachment #2: autofs-auto.net.patch --]
[-- Type: text/x-patch, Size: 464 bytes --]

--- /etc/auto.net-dist	2007-02-08 11:20:07.000000000 -0500
+++ /etc/auto.net	2007-05-01 16:16:12.000000000 -0400
@@ -37,7 +37,7 @@
 # Newer distributions get this right
 SHOWMOUNT="$SMNT --no-headers -e $key"
 
-$SHOWMOUNT | LC_ALL=C sort -u -k 1 | \
+$SHOWMOUNT | LC_ALL=C cut -d\  -f1 | LC_ALL=C sort -u | \
 	awk -v key="$key" -v opts="$opts" -- '
 	BEGIN	{ ORS=""; first=1 }
 		{ if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 }

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

             reply	other threads:[~2007-05-01 21:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 21:00 Paul Smith [this message]
2007-06-06 14:05 ` [patch] Sample auto.net provided with autofs is incorrect Jeff Moyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1178053209.20217.57.camel@psmithub \
    --to=psmith@netezza.com \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.