* [9fans] Factotum discrepancy
@ 2010-02-25 15:22 Brian L. Stuart
2010-02-25 15:44 ` erik quanstrom
0 siblings, 1 reply; 2+ messages in thread
From: Brian L. Stuart @ 2010-02-25 15:22 UTC (permalink / raw)
To: 9fans
There appears to be a disagreement between the
factotum man page and its actual behavior regarding
the -a option. In the man page, the wording:
-a supplies the address of the authentication server to
use. Without this option, it will attempt to find an
authentication server by querying the connection
server, the file <mtpt>/ndb, and finally the network
database in /lib/ndb.
makes it sound like the -a option takes precedence
over cs and ndb. But the code for _autdial() in
util.c looks for cs first and if it's there, the
-a option is ignored. (In p9p, -a seems to be ignored
altogether.)
Which way should it be? I'd prefer if -a took precedence,
but if the existing behavior is really what's wanted,
then I suggest we change the man page so it's more clear
that's what's happening.
BLS
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] Factotum discrepancy
2010-02-25 15:22 [9fans] Factotum discrepancy Brian L. Stuart
@ 2010-02-25 15:44 ` erik quanstrom
0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2010-02-25 15:44 UTC (permalink / raw)
To: 9fans
> makes it sound like the -a option takes precedence
> over cs and ndb. But the code for _autdial() in
> util.c looks for cs first and if it's there, the
> -a option is ignored. (In p9p, -a seems to be ignored
> altogether.)
>
> Which way should it be? I'd prefer if -a took precedence,
> but if the existing behavior is really what's wanted,
> then I suggest we change the man page so it's more clear
> that's what's happening.
it seems like this code is being very sly.
i think the problem the code is working around
is that if you first connect to the local machine
and later want to mount sources, you will fail
since the auth server you've specified in -a won't
auth sources. (at least that's how i read the comment,
if i squint a bit.)
also, if you were to smarten up -a to take an
authdom / authserver pair, e.g. -a coraid.com!tyty.coraid.com
it could still cause trouble if ndb were updated
while you were running one would expect cs to
fix things up, but it wouldn't.
is this a problem with a 9vx setup? perhaps
getting cs looking at the right data is the real
problem?
- erik
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-25 15:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-25 15:22 [9fans] Factotum discrepancy Brian L. Stuart
2010-02-25 15:44 ` erik quanstrom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).