Limitations on custom NFS mount authorization on SolarisAs it turns out, there are some limitations with our custom NFS mount
authorization hack that we've discovered.
First, Solaris 10 puts some security restrictions on what Second, things won't stall endlessly waiting for an answer to an NFS mount authorization. I don't know how long the various timeouts are, but there is definitely a limit on how much time your authorization code can use. This probably won't be a real limit in most environments, since the timeout seems to be at least several seconds, but bear it in mind. We've also seen indications that mountd will only allow a certain (low) number of outstanding mount requests; my current guess is 20. Once it hits the limit, further requests are either dropped or get permission denied errors (it's not clear which, and we've lacked the time to debug things in detail when the issue has come up). This is also going to be an issue if your authorization code can take some time. Finally, it seems that under some circumstances some part of the overall
system will cache the answers to mount requests, with the effect that
that an authorization decision can be 'sticky' for some amount of
time even if re-running the (Thus, this is probably not the right hack for you if your code needs
to take a shot at absolutely every mount request All of this is inevitable given that the entire thing is a hack; one
can't expect the rest of the system to cooperate perfectly, the way one
could if this was a real feature. It follows that the more your code
deviates from normal |
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |