Re: re passwordsafe under RHEL5 (and wtf rethe forum)

"ronys" <[email protected]> Tue, 21 Dec 2010 17:49:27 +0200
Newsgroups gmane.comp.security.passwordsafe.devel
Message-ID <3126F6E6ED4848EA877E5CC2AC6C5717@LYDIA>
 nscd is a generic caching service for access to "databases" such as
/etc/passwd, /etc/groups, etc.
My guess is that libc is trying to access it to save some time in the course
of a call to getpwname(), getpwuid() or something similar.
The non-existence of the local socket file probably just means that the ncsd
daemon isn't running on your machine, which shouldn't cause a failure of the
library call, just (perhaps) a slower response.

In other words, it doesn't seem related to the issues you've reported, as
far as I can tell.

Cheers,

	Rony

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Tuesday, December 21, 2010 5:18 PM
To: Saurav Ghosh; [email protected]
Subject: Re: [Passwordsafe-devel] re passwordsafe under RHEL5 (and wtf rethe
forum)


[I added a couple of bug reports as per Saurav a few minutes ago...]

 > > The autotype didn't work with my window manager that doesn't directly
 > > support the CLIPBOARD buffer (vtwm).  I worked around this problem by
adding
 > > wxTheClipboard->UsePrimarySelection(TRUE); to
src/ui/wxWidgets/pwsclip.cpp
 > >
 > Autotype doesn't use clipboard.  It only sends events to the window
 > next in Z-order.  But please file a bug on your clipboard problems.

Sorry, should have said "copy to clipboard" not "autotype".


 > > The help system doesn't work.  Seems like it requires Windows and
Visual
 > > Studio.  Can one get it working under Linux?  If so, how?
 > >
 > It works on Linux.  I can confirm on Ubuntu 9.10 and others have it
 > working on Debian.  What happens when you try to bring up help?  Which
 > window/dialog?

Strace says there's no relevant open() calls and it's trying to connect to
nscd's unix socket, which doesn't exist:

 chive(rader): strace pwsafe
 [...]
 30723 socket(PF_FILE, SOCK_STREAM, 0)   = 5
 30723 connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110)
= -1 ENOENT (No such file or directory)

Weird.  Googling "wxwidgets nscd" didn't give me a lead.  Does that ring
a bell?  If not let me know, and I'll add some debug printfs to get a
better clue.

 > You should not have to do anything special to get it to work, but can
 > you please see if wxUSE_WXHTML_HELP is defined in your
 > "/usr/lib/wx/include/*" or wherever your distro keeps installs the
 > setup.h file(s) for wxWidgets.

chive(rader): grep WXHTML
/usr/lib/wx/include/gtk2-unicode-release-2.8/wx/setup.h
#define wxUSE_WXHTML_HELP 1
chive(rader): rpm -qf
/usr/lib/wx/include/gtk2-unicode-release-2.8/wx/setup.h
wxGTK-devel-2.8.11-1.el5


 > Thanks,
 > Saurav.

Thank you!

steve
--




------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d