From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 2 Apr 2012 17:57:40 +0000 From: sl@9front.org To: 9fans@9fans.net Message-ID: In-Reply-To: <1333387274.98689.YahooMailClassic@web83903.mail.sp1.yahoo.com> References: <1333387274.98689.YahooMailClassic@web83903.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] SSHv2 Topicbox-Message-UUID: 74b1bf30-ead7-11e9-9d60-3106f5b1d025 > While it is possible to get it confused with keys already > stored in factotum (the reason the -z option is there), in > this particular case, the "unknown role verify" from factotum > seems to suggest it's talking to the old factotum. You're right. I forgot that 9front starts a factotum that was rolled into the kernel build, quite separate from the userland auth/factotum that exists on the system. This at least makes the observed results sensible. The running kernel was not built with nfactotum, while I as launching nfactotum manually from the command line. But now that I experiment, I find that I have a problem with nfactotum: term% auth/factotum -D <-5- Tversion tag 65535 msize 8216 version '9P2000' -5-> Rversion tag 65535 msize 8216 version '9P2000' <-5- Tauth tag 42 afid 706 uname sl aname -5-> Rerror tag 42 ename auth/factotum: authentication not required <-5- Tattach tag 42 fid 706 afid -1 uname sl aname -5-> Rattach tag 42 qid (0000000000000000 0 d) term% cpu -h sp -u sl <-5- Twalk tag 42 fid 706 newfid 837 nwname 2 0:factotum 1:rpc -5-> Rwalk tag 42 nwqid 2 0:(0000000000000001 0 d) 1:(0000000000000002 0 ) <-5- Topen tag 42 fid 837 mode 2 fid mode is 0x2 -5-> Ropen tag 42 qid (0000000000000002 0 ) iounit 0 <-5- Twrite tag 42 fid 837 offset 0 count 38 'start proto=p9any role=client user=sl' -5-> Rwrite tag 42 count 38 <-5- Tread tag 42 fid 837 offset 38 count 4096 -5-> Rread tag 42 count 2 'ok' <-5- Twrite tag 42 fid 837 offset 40 count 5 'read ' -5-> Rwrite tag 42 count 5 <-5- Tread tag 42 fid 837 offset 45 count 4096 -5-> Rread tag 42 count 40 'phase in state 'read offer' want 'write'' <-5- Twrite tag 42 fid 837 offset 85 count 6 'write ' -5-> Rwrite tag 42 count 6 <-5- Tread tag 42 fid 837 offset 91 count 4096 -5-> Rread tag 42 count 13 'toosmall 4096' <-5- Twrite tag 42 fid 837 offset 104 count 15 '77726974 65207039 736b3140 6e7600' -5-> Rwrite tag 42 count 15 <-5- Tread tag 42 fid 837 offset 119 count 4096 -5-> Rread tag 42 count 2 'ok' <-5- Twrite tag 42 fid 837 offset 121 count 5 'read ' -5-> Rwrite tag 42 count 5 <-5- Tread tag 42 fid 837 offset 126 count 4096 -5-> Rread tag 42 count 57 'needkey user=sl role=client proto=p9sk1 dom=nv !password?' !Adding key: user=sl role=client proto=p9sk1 dom=nv password: ! <-5- Twalk tag 42 fid 706 newfid 850 nwname 2 0:factotum 1:ctl -5-> Rwalk tag 42 nwqid 2 0:(0000000000000001 0 d) 1:(0000000000000007 0 ) <-5- Topen tag 42 fid 850 mode 2 fid mode is 0x2 -5-> Ropen tag 42 qid (0000000000000007 0 ) iounit 0 <-5- Twrite tag 42 fid 850 offset 0 count 64 'key user=sl role=client proto=p9sk1 dom=nv !password=xxxxxxx ' -5-> Rwrite tag 42 count 64 <-5- Tread tag 42 fid 850 offset 64 count 1024 -5-> Rread tag 42 count 54 'key dom=nv proto=p9sk1 role=client user=sl !password? ' <-5- Tclunk tag 42 fid 850 -5-> Rclunk tag 42 <-5- Twrite tag 42 fid 837 offset 183 count 5 'read ' -5-> Rwrite tag 42 count 5 <-5- Tread tag 42 fid 837 offset 188 count 4096 -5-> Rread tag 42 count 12 '6f6b2070 39736b31 206e7600' <-5- Twrite tag 42 fid 837 offset 200 count 5 'read ' -5-> Rwrite tag 42 count 5 <-5- Tread tag 42 fid 837 offset 205 count 4096 -5-> Rread tag 42 count 11 '6f6b2098 10cb0d4c 932e7a' <-5- Twrite tag 42 fid 837 offset 216 count 5 'read ' -5-> Rwrite tag 42 count 5 <-5- Tread tag 42 fid 837 offset 221 count 4096 -5-> Rread tag 42 count 42 'phase in state 'read tickreq' want 'write'' <-5- Twrite tag 42 fid 837 offset 263 count 6 'write ' -5-> Rwrite tag 42 count 6 <-5- Tread tag 42 fid 837 offset 269 count 4096 -5-> Rread tag 42 count 12 'toosmall 141' <-5- Twrite tag 42 fid 837 offset 281 count 147 '77726974 65200167 6c656e64 61000000 00000000 00000000 00000000 00000000 0000006e 76000000 00000000 00000000 00000000 00000000 00000000 00000000' -5-> Rwrite tag 42 count 147 <-5- Tread tag 42 fid 837 offset 428 count 4096 -5-> Rread tag 42 count 2 'ok' <-5- Twrite tag 42 fid 837 offset 430 count 5 'read ' auth/factotum: ioproc alloc At this point the nfactotum proc blocks indefinitely in Pread. -sl