Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287298 - sys-auth/pam_userdb-0.99.8.1 incompatibility with sys-libs/db-4.6.21_p4
Summary: sys-auth/pam_userdb-0.99.8.1 incompatibility with sys-libs/db-4.6.21_p4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-02 03:37 UTC by Michael Orlitzky
Modified: 2009-10-07 19:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild with stable x86 pam/db versions. (pam_userdb-1.1.0.ebuild,3.13 KB, text/plain)
2009-10-02 03:39 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2009-10-02 03:37:28 UTC
I'm using pam_userdb along with a BerkDB database created as follows:

  $ db4.6_load -T -t hash -f virtual_users.txt virtual_users.db

to authenticate my vsftpd users. With db-4.6-x, this no longer works, as (it seems) pam_userdb can no longer read the file generated by db4.6_load. Everything works fine when db4.5_load is used, but authentication always fails when db4.6_load is used.

The ebuild for pam_userdb is using its own versions of PAM and BerkDB. Assuming this was the problem, I bumped both versions to match x86 stable, and now the userdb works as expected.
Comment 1 Michael Orlitzky gentoo-dev 2009-10-02 03:39:22 UTC
Created attachment 205801 [details]
Updated ebuild with stable x86 pam/db versions.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-10-07 19:59:50 UTC
Thanks, fixed after playing a bit more with the ebuild.