Summary: | vmware-authd segmentation fault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Elliot Mackenzie <macka> |
Component: | New packages | Assignee: | Gentoo VMWare Bug Squashers [disabled] <vmware+disabled> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | strace of vmware-authd crash |
Description
Elliot Mackenzie
2006-10-01 07:29:14 UTC
32-bit emulation is enabled in my kernel. Other programs run fine. VMware appears to start OK, it is just vmware-authd that seg faults and fails (thus far). If I try to connect remotely, via the vmware console, this is the error: Oct 2 16:42:38 trinity kernel: vmware-authd[1544]: segfault at 000000000000000a rip 0000000008064202 rsp 00000000ffb29cb0 error 4 This was the install order (the results of emerge -pv vmware-server prior to actual emerge): These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] app-emulation/emul-linux-x86-compat-1.0-r1 1,200 kB [ebuild N ] app-emulation/emul-linux-x86-baselibs-2.5.2 5,457 kB [ebuild N ] app-emulation/emul-linux-x86-xlibs-7.0-r2 USE="-opengl" VIDEO_CARDS="i810 mga s3virge savage sis tdfx trident via -mach64 -r128 -radeon" 10,356 kB [ebuild N ] app-emulation/emul-linux-x86-gtklibs-2.8.8 USE="-qt3" 2,824 kB [ebuild N ] dev-libs/glib-2.10.3 USE="-debug -doc -hardened" 2,708 kB [ebuild N ] dev-perl/XML-Parser-2.34 224 kB [ebuild N ] dev-util/intltool-0.35.0 126 kB [ebuild N ] dev-libs/libxml2-2.6.26 USE="ipv6 python readline -debug -doc -test" 3,338 kB [ebuild N ] x11-misc/shared-mime-info-0.18-r1 585 kB [ebuild N ] app-emulation/vmware-modules-1.0.0.15 103,028 kB [ebuild N ] sys-apps/xinetd-2.3.14 USE="perl tcpd" 294 kB [ebuild N ] sys-apps/pciutils-2.2.3-r1 1,200 kB [ebuild N ] app-emulation/vmware-server-1.0.1.29996-r1 362 kB Furthermore, the contents of /etc/pam.d/vmware-authd: trinity ~ # cat /etc/pam.d/vmware-authd #%PAM-1.0 auth sufficient /emul/linux/x86/lib/security/pam_unix.so shadow nullok auth required /emul/linux/x86/lib/security/pam_unix_auth.so shadow nullok account required /emul/linux/x86/lib/security/pam_listfile.so item=group sense=allow file=/etc/vmware/vmwaregroup onerr=fail account sufficient /emul/linux/x86/lib/security/pam_unix.so account required /emul/linux/x86/lib/security/pam_unix_acct.so I checked, all of the above /emul/linux.....*.so files exist. Well, we're a bit out of my league here, but could you please try running vmware-authd using strace, to see if we can isolate the call that's causing the strace (or what's happening up to that point)? A google of the vmtn for similar set-ups might also do some good. Let's try the strace first and see what turns up... Created attachment 98527 [details]
strace of vmware-authd crash
Good idea... looks like it may be barfing while attempting to write something out to /dev/log...
For the record:
trinity sbin # ls -l /dev/log
srw-rw-rw- 1 root root 0 Oct 2 17:37 /dev/log
These two lines are also potentially a problem: open("/opt/vmware/server/lib/lib/libssl.so.0.9.7/libssl.so.0.9.7", O_RDONLY) = -1 ENOENT (No such file or directory) open("/opt/vmware/server/lib/lib/libssl.so.0.9.7", O_RDONLY) = -1 ENOENT (No such file or directory) That library does not exist. Ah, yeah, that'd explain it... I'm going to mark this as a duplicate of bug 148682, since those libraries were recently removed due to a security issue, and we're currently undecided as to how to deal with the problem. Rather than pursueing this bug any further, I'd follow that one instead. Sorry for the problems, we're trying to get them worked out as quickly as possible... *** This bug has been marked as a duplicate of 148682 *** I tried this: trinity libssl.so.0.9.7 # pwd /opt/vmware/server/lib/lib/libssl.so.0.9.7 trinity libssl.so.0.9.7 # ln -s /emul/linux/x86/usr/lib/libssl.so.0.9.7 libssl.so.0.9.7 and now I get this: trinity sbin # ./vmware-authd ./vmware-authd: symbol lookup error: /opt/vmware/server/lib/lib/libssl.so.0.9.7/libssl.so.0.9.7: undefined symbol: EVP_idea_cbc Bug 149702 provides steps for linking the 32-bit binary libraries into the vmware-server package. Hope that helps... |