9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Christian Kellermann <Christian.Kellermann@nefkom.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] auth/changeuser from drawterm
Date: Thu, 20 Mar 2008 12:03:29 +0100	[thread overview]
Message-ID: <20080320110329.GP5001@hermes.my.domain> (raw)
In-Reply-To: <20080320092802.GO5001@hermes.my.domain>

[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]

To give you some more information:

It seems that auth/changeuser hangs in reading from /dev/cons:
cpu% ps  | grep changeuser
bootes         2276    0:00   0:00       72K Pread    changeuser
cpu% acid 2276
/proc/2276/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
pread()+0x7 /sys/src/libc/9syscall/pread.s:5
read(fd=0x4,buf=0xdfffef09,n=0x1)+0x2f /sys/src/libc/9sys/read.c:7
readln(prompt=0xe31c,raw=0x1,line=0xdfffef09,len=0x20)+0xcf /sys/src/cmd/auth/lib/readln.c:84
getpass(pass=0xdfffef09,confirm=0x1,key=0xdfffef49,check=0x1)+0x39 /sys/src/cmd/auth/lib/readln.c:18
main(argv=0xdfffefa8,argc=0x1)+0x1bf /sys/src/cmd/auth/changeuser.c:65
_main+0x31 /sys/src/libc/386/main9.s:16
acid: 

Fd 4 is /dev/cons in this case...

This happens when doing any of the following:

drawterm to the machine as some user, then cpu'ing to localhost, then mounting the served root and calling auth/changeuser.

drawterm to the machine as bootes, omitting the cpu call and proceed as above

This all happens with auth/debug as well, which has been known to work with drawterm to my knowledge.

Kind regards,

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

  reply	other threads:[~2008-03-20 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20  9:28 Christian Kellermann
2008-03-20 11:03 ` Christian Kellermann [this message]
2008-03-20 11:11   ` Christian Kellermann
2008-03-20 13:20 ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080320110329.GP5001@hermes.my.domain \
    --to=christian.kellermann@nefkom.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).