#190 Acrobat reader: getpwuid_r failed

Created 8 years ago by villeys
Modified 9 months ago

launching Acroread 8:
user @host ~]$ acroread

(acroread:4880): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (811)

id username works ok. This is with native LDAP domain, offline. No local domain defined.


"this means that the application isn't using /etc/nsswitch.conf, so implicitly using just the file value for passwd. A HACK to get round this is to ensure that nscd is running. To request that it is started, check for 5:on from chkconfig"

I suspect that nm-applet has similar issue.

Actually I get this warning both online and offline.

This is a bug in a third-party application. We properly handle getpwuid_r requests when they are handed to us.

The nscd solution provided above is a hack that just happens to fix the problem because nscd intercepts the getpwuid_r request. A proper solution would be for the calling function to behave sanely.

resolution: => invalid
status: new => closed

The nscd link was just for reference. I tried acroread with without sssd and nsswitch ldap, no nscd, it works. But ok it is third party app.

Villeys are you using sssd on a 64bit system by chance ?

resolution: invalid =>
status: closed => reopened

ok this is a problem of 64 bit OS with only 64bit pam_sss and nss_sss libraries, and use of a 32bit app.
Resolution is to install also 32bit version of sssd so that 32bit pam_sss and nss_sss are available as well.

Closing as Invalid but worth documenting.

doc: 0 => 1
resolution: => invalid
status: reopened => closed

I confirm installing i386 rpms fixed the issue on 64bit system.

Documentation needs to indicate that when running 32-bit applications on a 64-bit host operating system (e.g. i386/i686 applications running on an x86_64 kernel), it is necessary to manually install the sssd-client.i686 package or the 32-bit applications will be unable to see network users.

Fields changed

rhbz: => 0

9 months ago

Metadata Update from @villeys:
- Issue set to the milestone: SSSD 1.0

Login to comment on this ticket.