Red Hat Bugzilla – Bug 1010165
Problem with Berkeley DB use in PAM_ABL
Last modified: 2013-09-22 13:13:13 EDT
Description of problem:
In some situations, the system login procedure (logging in through console or remote shell) displays Berkeley DB error messages coming from PAM_ABL. The messages include:
pam-abl: BDB1528 DB_REGISTER limits processes to one open DB_ENV handle per environment
(This one is usually displayed after first login fails and second is attempted.)
pam-abl: BDB2506 file /var/lib/abl/hosts.db has LSN 87/6343932, past end of log at 87/6332752
pam-abl: BDB2507 Commonly caused by moving a database from one database environment
pam-abl: BDB2508 to another without clearing the database LSNs, or by removing all of
pam-abl: BDB2509 the log files from a database environment
pam-abl: BDB1579 Database handles still open at environment close
(This one appeared today but I could not find a systematic way of triggering it.)
Version-Release number of selected component (if applicable):
Some of the messages, always.
Steps to Reproduce:
1. Install PAM_ABL into PAM.
2. Switch to text console login prompt.
3. Attempt one incorrect login (non existent user does the trick just fine).
4. On second login attempt, just after entering the user name, the Berkeley DB error message will appear.
Error message where there should be none.
No error displayed.
I've also experimented with deleting and recreating the database to make sure this is not due to transient database corruption.
I'm not sure if the error messages hurt anything, but I've experienced unreliable login through GDM (login rejected and user blacklisted after a single failure, or login rejected even when user was not apparently blacklisted and could log in through console), could be this is somehow related.
In the meantime, I have moved to pam_abl-0.6.0-2.fc20 (which has other issues fixed), and I don't see the error messages anymore. I will reopen the issue in case they appear again.