All of lore.kernel.org
 help / color / mirror / Atom feed
* mount 2.12: proplist and failed mounts
@ 2004-06-25 11:02 Axel Thimm
  2004-06-25 12:19 ` Jeff Moyer
  2004-06-25 15:00 ` mount 2.12: proplist and failed mounts raven
  0 siblings, 2 replies; 5+ messages in thread
From: Axel Thimm @ 2004-06-25 11:02 UTC (permalink / raw)
  To: autofs


[-- Attachment #1.1: Type: text/plain, Size: 1352 bytes --]

Hi,

I was happily using autofs 4.1.3 with mount 2.11y. The maps contained
the proplist option (we share the maps with some OSF1 boxes), but that
did not disturb.

for other reasons I had to upgrade mount to 2.11 (part of
util-linux). Suddenly autofs will not mount anymore with errors like:

Jun 25 12:25:50 heretic automount[12646]: failed to mount /home/thimm
Jun 25 12:25:50 heretic automount[12648]: >> Unsupported nfs mount option: proplist
Jun 25 12:25:50 heretic automount[12648]: mount(nfs): nfs: mount failure nukleon:/amd/nukleon/1/home/ag-linke/thimm on /home/thimm

I tested mount -o proplist and I got the above error and the exit code was 32:
# mount -o proplist nukleon:/amd/nukleon/1/home/ag-linke/thimm /home/thimm
Unsupported nfs mount option: proplist
# echo $?
32

OK, so I thought mount has become quite picky now, and downgraded. I
retried the manual mount and got the same error & exit code!

But autofs works properly again?!?

For one I'd like to understand how autofs manages to workaround this
error for 2.11y, and perhaps whether this can be used for mount 2.12,
also. Granted, the true error lies in the configuration asking for
unsupported proplist options, but since it had a nice and greceful
error fallback until now, it would be nice to keep it.

Thanks!
-- 
Axel.Thimm at ATrpms.net

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: 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] 5+ messages in thread

* Re: mount 2.12: proplist and failed mounts
  2004-06-25 11:02 mount 2.12: proplist and failed mounts Axel Thimm
@ 2004-06-25 12:19 ` Jeff Moyer
  2004-06-25 17:23   ` Axel Thimm
  2004-06-25 15:00 ` mount 2.12: proplist and failed mounts raven
  1 sibling, 1 reply; 5+ messages in thread
From: Jeff Moyer @ 2004-06-25 12:19 UTC (permalink / raw)
  To: Axel Thimm; +Cc: autofs

==> Regarding [autofs] mount 2.12: proplist and failed mounts; Axel Thimm <Axel.Thimm@atrpms.net> adds:

Axel.Thimm> Hi, I was happily using autofs 4.1.3 with mount 2.11y. The maps
Axel.Thimm> contained the proplist option (we share the maps with some OSF1
Axel.Thimm> boxes), but that did not disturb.

Axel.Thimm> for other reasons I had to upgrade mount to 2.11 (part of
Axel.Thimm> util-linux). Suddenly autofs will not mount anymore with errors
Axel.Thimm> like:

Axel.Thimm> Jun 25 12:25:50 heretic automount[12646]: failed to mount
Axel.Thimm> /home/thimm Jun 25 12:25:50 heretic automount[12648]: >>
Axel.Thimm> Unsupported nfs mount option: proplist Jun 25 12:25:50 heretic
Axel.Thimm> automount[12648]: mount(nfs): nfs: mount failure
Axel.Thimm> nukleon:/amd/nukleon/1/home/ag-linke/thimm on /home/thimm

Axel.Thimm> I tested mount -o proplist and I got the above error and the
Axel.Thimm> exit code was 32:
>> mount -o proplist nukleon:/amd/nukleon/1/home/ag-linke/thimm /home/thimm
Axel.Thimm> Unsupported nfs mount option: proplist
>> echo $?
Axel.Thimm> 32

Axel.Thimm> OK, so I thought mount has become quite picky now, and
Axel.Thimm> downgraded. I retried the manual mount and got the same error &
Axel.Thimm> exit code!

Axel.Thimm> But autofs works properly again?!?

Axel.Thimm> For one I'd like to understand how autofs manages to workaround
Axel.Thimm> this error for 2.11y, and perhaps whether this can be used for
Axel.Thimm> mount 2.12, also. Granted, the true error lies in the
Axel.Thimm> configuration asking for unsupported proplist options, but
Axel.Thimm> since it had a nice and greceful error fallback until now, it
Axel.Thimm> would be nice to keep it.

You need to specify the sloppy mount option (-s) for this to work.  It
basically tells mount to not be so picky about options it doesn't
understand.  (Note that autofs uses this option.)

As for your experience, were you using Red Hat packages per chance?  I had
a bug filed here (on FC2, I think) which described your situation.  The
problem was that someone (not naming names) accidentally committed some
code which did not allow sloppy mounts for NFS.  It has since been fixed.

Please let me know if you need more help tracking this down.

Thanks!

Jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mount 2.12: proplist and failed mounts
  2004-06-25 11:02 mount 2.12: proplist and failed mounts Axel Thimm
  2004-06-25 12:19 ` Jeff Moyer
@ 2004-06-25 15:00 ` raven
  1 sibling, 0 replies; 5+ messages in thread
From: raven @ 2004-06-25 15:00 UTC (permalink / raw)
  To: Axel Thimm; +Cc: autofs

On Fri, 25 Jun 2004, Axel Thimm wrote:

> Hi,
> 
> I was happily using autofs 4.1.3 with mount 2.11y. The maps contained
> the proplist option (we share the maps with some OSF1 boxes), but that
> did not disturb.
> 
> for other reasons I had to upgrade mount to 2.11 (part of
> util-linux). Suddenly autofs will not mount anymore with errors like:
> 
> Jun 25 12:25:50 heretic automount[12646]: failed to mount /home/thimm
> Jun 25 12:25:50 heretic automount[12648]: >> Unsupported nfs mount option: proplist
> Jun 25 12:25:50 heretic automount[12648]: mount(nfs): nfs: mount failure nukleon:/amd/nukleon/1/home/ag-linke/thimm on /home/thimm
> 
> I tested mount -o proplist and I got the above error and the exit code was 32:
> # mount -o proplist nukleon:/amd/nukleon/1/home/ag-linke/thimm /home/thimm
> Unsupported nfs mount option: proplist
> # echo $?
> 32
> 
> OK, so I thought mount has become quite picky now, and downgraded. I
> retried the manual mount and got the same error & exit code!
> 
> But autofs works properly again?!?

OK. I'm confused as well.

I'll play with some invalid options ove rthe weekend and see what I can 
do.

Ian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mount 2.12: proplist and failed mounts
  2004-06-25 12:19 ` Jeff Moyer
@ 2004-06-25 17:23   ` Axel Thimm
  2004-06-25 20:59     ` util-linux rpms for sloppy/noacl/non-selinux (was: mount 2.12: proplist and failed mounts) Axel Thimm
  0 siblings, 1 reply; 5+ messages in thread
From: Axel Thimm @ 2004-06-25 17:23 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: autofs


[-- Attachment #1.1: Type: text/plain, Size: 2004 bytes --]

On Fri, Jun 25, 2004 at 08:19:16AM -0400, Jeff Moyer wrote:
> ==> Regarding [autofs] mount 2.12: proplist and failed mounts; Axel Thimm <Axel.Thimm@atrpms.net> adds:
> 
> Axel.Thimm> Hi, I was happily using autofs 4.1.3 with mount 2.11y. The maps
> Axel.Thimm> contained the proplist option (we share the maps with some OSF1
> Axel.Thimm> boxes), but that did not disturb.
> 
> Axel.Thimm> for other reasons I had to upgrade mount to 2.11 (part of
> Axel.Thimm> util-linux). Suddenly autofs will not mount anymore with errors
> Axel.Thimm> like:
> 
> Axel.Thimm> Jun 25 12:25:50 heretic automount[12646]: failed to mount
> Axel.Thimm> /home/thimm Jun 25 12:25:50 heretic automount[12648]: >>
> Axel.Thimm> Unsupported nfs mount option: proplist Jun 25 12:25:50 heretic
> Axel.Thimm> automount[12648]: mount(nfs): nfs: mount failure
> Axel.Thimm> nukleon:/amd/nukleon/1/home/ag-linke/thimm on /home/thimm

> You need to specify the sloppy mount option (-s) for this to work.  It
> basically tells mount to not be so picky about options it doesn't
> understand.  (Note that autofs uses this option.)
> 
> As for your experience, were you using Red Hat packages per chance?

Yes, I "backported" util-linux-2.12-18 (rawhide/fc2) to non-selinux
setups (needed to tweak the nfssloppy patch) ...

> I had a bug filed here (on FC2, I think) which described your
> situation.  The problem was that someone (not naming names)
> accidentally committed some code which did not allow sloppy mounts
> for NFS.  It has since been fixed.

Now, that I know what to look for I found the bugzilla entry:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=122448

Looks like the fix is not yet in rawhide :( :( :(

BTW, here are my patches to make util-linux build again on non-selinux
systems:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=126720

> Please let me know if you need more help tracking this down.
> 
> Thanks!
> 
> Jeff

-- 
Axel.Thimm at ATrpms.net

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: 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] 5+ messages in thread

* util-linux rpms for sloppy/noacl/non-selinux (was: mount 2.12: proplist and failed mounts)
  2004-06-25 17:23   ` Axel Thimm
@ 2004-06-25 20:59     ` Axel Thimm
  0 siblings, 0 replies; 5+ messages in thread
From: Axel Thimm @ 2004-06-25 20:59 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: autofs, sopwith, M.A.Young


[-- Attachment #1.1: Type: text/plain, Size: 942 bytes --]

On Fri, Jun 25, 2004 at 07:23:16PM +0200, Axel Thimm wrote:
> On Fri, Jun 25, 2004 at 08:19:16AM -0400, Jeff Moyer wrote:
> > I had a bug filed here (on FC2, I think) which described your
> > situation.  [...] It has since been fixed.
> 
> Now, that I know what to look for I found the bugzilla entry:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=122448
> 
> Looks like the fix is not yet in rawhide :( :( :(
> 
> BTW, here are my patches to make util-linux build again on non-selinux
> systems:
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=126720

I put together util-linux rpms which include

o the (no)selinux patches
o the sloppy fixes by Michael Young
o the [no]acl patches by Andreas Gruenbacher
  (http://bugzilla.atrpms.net/show_bug.cgi?id=73)

The work fine in mixed autofs'ed environments of OSF1s, acled and
non-acled NFS servers and acled NFS clients.
-- 
Axel.Thimm at ATrpms.net

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: 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] 5+ messages in thread

end of thread, other threads:[~2004-06-25 20:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-25 11:02 mount 2.12: proplist and failed mounts Axel Thimm
2004-06-25 12:19 ` Jeff Moyer
2004-06-25 17:23   ` Axel Thimm
2004-06-25 20:59     ` util-linux rpms for sloppy/noacl/non-selinux (was: mount 2.12: proplist and failed mounts) Axel Thimm
2004-06-25 15:00 ` mount 2.12: proplist and failed mounts raven

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.