* Sample auto.net provided with autofs is incorrect
@ 2007-05-24 17:34 Paul Smith
2007-06-06 12:59 ` Ian Kent
0 siblings, 1 reply; 4+ messages in thread
From: Paul Smith @ 2007-05-24 17:34 UTC (permalink / raw)
To: autofs
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
Hi all; I sent this on May 1 but I haven't seen it come through yet?
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sample auto.net provided with autofs is incorrect
2007-05-24 17:34 Sample auto.net provided with autofs is incorrect Paul Smith
@ 2007-06-06 12:59 ` Ian Kent
2007-06-06 13:41 ` Paul Smith
0 siblings, 1 reply; 4+ messages in thread
From: Ian Kent @ 2007-06-06 12:59 UTC (permalink / raw)
To: psmith; +Cc: autofs
On Thu, 2007-05-24 at 13:34 -0400, Paul Smith wrote:
> Hi all; I sent this on May 1 but I haven't seen it come through yet?
>
>
> 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.
Doesn't Ububtu record release version and package version against bugs?
What is the version of autofs in Ubuntu?
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sample auto.net provided with autofs is incorrect
2007-06-06 12:59 ` Ian Kent
@ 2007-06-06 13:41 ` Paul Smith
2007-06-06 14:11 ` Ian Kent
0 siblings, 1 reply; 4+ messages in thread
From: Paul Smith @ 2007-06-06 13:41 UTC (permalink / raw)
To: Ian Kent; +Cc: autofs
On Wed, 2007-06-06 at 20:59 +0800, Ian Kent wrote:
> Doesn't Ububtu record release version and package version against bugs?
> What is the version of autofs in Ubuntu?
Hm I don't know why that's not there.
Anyway, the version of autofs in my Ubuntu (7.04) is:
ii autofs 4.1.4-13build1 kernel-based automounter for Linux
I just checked the 5.0.1 version (weird, I couldn't find it for anything
the first time I looked!) and although auto.net has changed slightly,
this problem still exists. On my system where showmount for one of my
servers contains multiple entries for different hosts for the same
partition, the output generated by auto.net has multiple entries for the
same host.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sample auto.net provided with autofs is incorrect
2007-06-06 13:41 ` Paul Smith
@ 2007-06-06 14:11 ` Ian Kent
0 siblings, 0 replies; 4+ messages in thread
From: Ian Kent @ 2007-06-06 14:11 UTC (permalink / raw)
To: psmith; +Cc: autofs
On Wed, 2007-06-06 at 09:41 -0400, Paul Smith wrote:
> On Wed, 2007-06-06 at 20:59 +0800, Ian Kent wrote:
>
> > Doesn't Ububtu record release version and package version against bugs?
> > What is the version of autofs in Ubuntu?
>
> Hm I don't know why that's not there.
>
> Anyway, the version of autofs in my Ubuntu (7.04) is:
>
> ii autofs 4.1.4-13build1 kernel-based automounter for Linux
>
> I just checked the 5.0.1 version (weird, I couldn't find it for anything
> the first time I looked!) and although auto.net has changed slightly,
> this problem still exists. On my system where showmount for one of my
> servers contains multiple entries for different hosts for the same
> partition, the output generated by auto.net has multiple entries for the
> same host.
Yes, but if you use 5.0.1 (and I recommend all the patches on kernel.org
as well) then use the "-hosts" map instead, it shouldn't have this
problem. Beware that, being new, it has been changed a number of times,
the latest change being to drop the exports access control checking.
This was the subject of a number of difficulties but in the end it was
disabled because there isn't any way to make it work behind a NAT
interface (oops and so obvious).
If you need to continue using version 4 then you'll need to persuade
your platform support people to add a patch to resolve the issue. There
will be a 4.1.5 at some point in the future but my focus is very much on
version 5.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-06-06 14:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-24 17:34 Sample auto.net provided with autofs is incorrect Paul Smith
2007-06-06 12:59 ` Ian Kent
2007-06-06 13:41 ` Paul Smith
2007-06-06 14:11 ` Ian Kent
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.