Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 168494

Summary: acroread can't find ldap user. Fails to open.
Product: Gentoo Linux Reporter: Kevin Parent <kparent>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kevin Parent 2007-02-26 19:23:49 UTC
When opening pdf files with firefox, just a blank page is displayed.  Executing "acroread" at the command line results in an error message.

Users are authenticated through system-wide ldap/pam.

Reproducible: Always

Steps to Reproduce:
1. Open any pdf doc via browser or issue "acroread" at command line
2.
3.

Actual Results:  
user@userhome $ acroread

(acroread:11346): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (500)

Expected Results:  
acroread should find the user id

- All other apps requiring userid lookup function as expected.
- slapd functions correctly.
- "getent passwd | grep 500" returns user info
- acroread functioned correctly until upgrade of emul-linux-86-baselibs-10 and glibc-2.5 
- issuing "acroread" as root functions correctly.  user root is located in /etc/passwd.
- installing acroread both with and without useflag ldap has no effect.
- >= acroread-7.0.8 have same failure.
 
I have a feeling this is emul-linux-x86-baselibs related.

# emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-ck1 x86_64)
=================================================================
System uname: 2.6.20-ck1 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 26 Feb 2007 11:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups dga dri dts eds emboss encode esd evo fam ffmpeg flac foomaticdb fortran frontendonly gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml iconv idn imap imlib irda irmc isdnlog ithreads java jpeg kde lcms ldap libg++ logrotate lzw mad mbox midi mikmod mng mp3 mpeg mysql mythtv ncurses nls nptl nptlonly nsplugin nvidia oav offensive ogg oggvorbis opengl oss pam pcre pda pdf perl png posix ppds pppd pthreads python qt3 qt4 quicktime readline reflection samba sdl session slang spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unsupported_8bit usb vorbis xine xml xorg xpm xv xvmc zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kevin Parent 2007-02-26 19:34:34 UTC
corrected typo in summary
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 22:31:07 UTC
We won't fix binary-only stuff, go complain to Adobe.
Comment 3 Kevin Parent 2007-02-27 03:33:01 UTC
(In reply to comment #2)
> We won't fix binary-only stuff, go complain to Adobe.
> 

It's not an adobe issue.  It was an nss_ldap mismatch issue.  Baselibs-10.1 uses nss_ldap-253.  I was using nss_ldap-239 since I had issues with 249 and 250.  I upgraded to 253 and had to comment out "ssl on" to get slapd working with nss_ldap-253.

Thanks for nuthin