mount 2.12: proplist and failed mounts
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!
Signature · 1 line
Axel.Thimm at ATrpms.net
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
==> Regarding [autofs] mount 2.12: proplist and failed mounts; Axel Thimm <[email protected]> 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:
Quoted 1 line
Quoted 1 line
mount -o proplist nukleon:/amd/nukleon/1/home/ag-linke/thimm
/home/thimm
Axel.Thimm> Unsupported nfs mount option: proplist
Quoted 1 line
Quoted 1 line
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
[email protected]
maintainerQuoted 19 lines · Axel Thimm
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/thimmI 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
Quoted 4 lines
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
Quoted 16 lines · Jeff Moyer
==> Regarding [autofs] mount 2.12: proplist and failed mounts; Axel Thimm <[email protected]> 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/thimmJun 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
Quoted 5 lines
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) ...
Quoted 4 lines
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
Quoted 5 lines
Please let me know if you need more help tracking this down.
Thanks!
Jeff
Signature · 1 line
Axel.Thimm at ATrpms.net
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
util-linux rpms for sloppy/noacl/non-selinux (was: mount 2.12: proplist and failed mounts)
Quoted 7 lines · Axel Thimm
Quoted 2 lines · Jeff Moyer
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
Quoted 6 lines
Looks like the fix is not yet in rawhide :( :( :(
BTW, here are my patches to make util-linux build again on non-selinux systems:
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.
Signature · 1 line
Axel.Thimm at ATrpms.net
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs