[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's secu
From: |
Piotr Eljasiak |
Subject: |
Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's security credentials |
Date: |
Sun, 28 Oct 2007 10:07:41 +0100 |
> > > I can't figure out how to use it.
> > > I started the daemon manually when i wasn't in a gnome-session. I tested
> > > it with a standard gnome-session too. I can't find any 'add key' feature
> > > in gnome-keyring-manager, nor a way to contact the daemon via
> > > commandline. Both manpages are stubs, and the help has only 'Welcome!'.
> > > This is version 2.20.0.
> > > I'm not so sure if the idea is so good finally.
> > >
> > > Any hint ?
> >
> > Don't do anything with gnome-keyring-manager ;o)
> >
> > Just try to open connection with CTRL+F (or CTRL+N) in gcmd. As password
> > is not stored by gcmd anymore, GNOME authentication manager will ask you
> > for that - then entered password can be stored internally by
> > authentication manager and reused if necessary.
>
> First try:
>
> (1) Started g.k.d. as user
>
> (2) Checked a remote server where i need a password login via commandline ->
> works
>
> (3) Started gcmd and 'connect'ed to that server
>
> -> gnome-commander[4130]:
> segfault at 0000000000000000 rip 00002b3e0c29e98e rsp 00007fffa31dbbe0 error 4
>
> Second try, enabled more debugging:
>
> [MM] Opening connection
> [MM] Opening FTP connection
> [MM] FTP: Connecting to ftp://address@hidden:21/
> (login data obfuscated, for the mailing list)
>
> -> no gkd popup
> -> gcmd tries inedfinitely and gets unresponsible=effectively a crash.
>
> strace -p 4203
> Process 4203 attached - interrupt to quit
> poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
> read(3, "address@hidden@\2<\0\256\0"..., 32) = 32
> read(3, "address@hidden@\2<\0\256\0"..., 32) = 32
> read(3, "address@hidden<\0\256\0"..., 32) = 32
> read(3, 0x7fffdb4fccd0, 32) = -1 EAGAIN (Resource temporarily
> unavailable)
> poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
> (and so on)
>
> Dunno if this is log entry is related:
> Xlib: unexpected async reply (sequence 0x44ba)!
>
> For completeness i installed a local proftp server and retried as guest user
> (checked before that it works)
>
> [MM] Opening connection
> [MM] Opening FTP connection
> [MM] FTP: Connecting to ftp://address@hidden:21/
> Xlib: unexpected async reply (sequence 0xa526)!
>
>
> This time i straced the keyring daemon:
>
> /usr/local/bin mi: strace -p 4128
> Process 4128 attached - interrupt to quit
> read(6, 0x7fffe7ab801f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab801f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab801f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab800f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab800f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab800f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> poll([{fd=4, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN,
> revents=POLLIN}, {fd=3, events=POLLIN}, {fd=6, events=POLLIN}], 5, -1) = 1
>
> (cut more polling, until gcmd connects:)
>
> accept(3, {sa_family=AF_FILE, path="�"}, [14139226814551162882]) = 9
> clone(child_stack=0x40800260,
> flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
> parent_tidptr=0x408009e0, tls=0x40800950, child_tidptr=0x408009e0) = 4536
> read(6, 0x7fffe7ab800f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab800f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab800f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> poll([{fd=4, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN},
> {fd=3, events=POLLIN}, {fd=6, events=POLLIN, revents=POLLIN}], 5, -1) = 1
> futex(0x408009e0, FUTEX_WAIT, 4536, NULL) = 0
> close(9) = 0
> read(6, "\252", 1) = 1
> read(6, 0x7fffe7ab801f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab801f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab801f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab800f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab800f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> read(6, 0x7fffe7ab800f, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> poll([{fd=4, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN,
> revents=POLLIN}, {fd=3, events=POLLIN}, {fd=6, events=POLLIN}], 5, -1) = 1
I've just fixed the initialising of gnome_vfs_init... functions (wrong
order of calls) - could you check if your crash is still present (rev
1248)?
TIA,
Piotr
- Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's security credentials, (continued)
- Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's security credentials, Michael, 2007/10/18
- Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's security credentials, Piotr Eljasiak, 2007/10/22
- [gcmd-dev] Re: GNOME authentication manager, Michael, 2007/10/23
- Re: [gcmd-dev] Re: GNOME authentication manager, Piotr Eljasiak, 2007/10/23
- Re: [gcmd-dev] Re: GNOME authentication manager, Michael, 2007/10/23
- Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's security credentials,
Piotr Eljasiak <=
- Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's security credentials, Michael, 2007/10/28
- Re: [gcmd-dev] [NEW] Use of GNOME authentication manager for user's security credentials, Piotr Eljasiak, 2007/10/29
- [gcmd-dev] gcmd website, Antono Vasiljev, 2007/10/29
- Re: [gcmd-dev] gcmd website, Michael, 2007/10/29
- Re: [gcmd-dev] gcmd website, Antono Vasiljev, 2007/10/29
- Re: [gcmd-dev] gcmd website, Michael, 2007/10/29
- Re: [gcmd-dev] gcmd website, Antono Vasiljev, 2007/10/30
- Re: [gcmd-dev] gcmd website, Magnus Stålnacke, 2007/10/29
- Re: [gcmd-dev] gcmd website, Antono Vasiljev, 2007/10/30
- Re: [gcmd-dev] gcmd website, Magnus Stålnacke, 2007/10/30