Package: libpam-abl
Version: 0.4.3-1
Severity: normal

Today I tried to whitelist one of my hosts with the following results.
The second pam_abl listing hung and had to be interrupted with C-c.

    $ sudo pam_abl
    <expected listing>
    $ sudo pam_abl --whitelist -H <host>
    No such file or directory (2) while reading config file
    Invalid argument (22) while reading config file: No db_home dir specified
    $ sudo pam_abl
    pam-abl: unable to join the environment
    pam-abl: unable to join the environment
    ^C $

I removed all of the files in my pam-abl database directory
(db_home=/var/lib/abl/) and this cleared up the problem.

In addition to having a corrupted database, the error message above is
incorrect; as you can see, db_home *is* specified.

Note that I just upgraded to wheezy, so I'm suspecting a database
upgrade had a role to play. If this is true, please retitle this issue
to "Upgrading database version corrupts database." Dependencies should
be put in place so that the pam-abl database is automatically rebuilt
upon a database upgrade. At the very least, documentation should be
added to /usr/share/doc/libpam-abl/README.Debian. For example, please
see Section 2.6, Updating Berkeley DB version underneath bogofilter, in
/usr/share/doc/bogofilter-bdb/README.db.

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpam-abl depends on:
ii  libc6     2.13-38
ii  libdb5.1  5.1.29-5

libpam-abl recommends no packages.

libpam-abl suggests no packages.

-- Configuration Files:
/etc/security/pam_abl.conf changed:
db_home=/var/lib/abl/
host_db=/var/lib/abl/hosts.db
host_purge=2d
host_rule=*:3/1h,30/1d
user_db=/var/lib/abl/users.db
user_purge=2d
user_rule=nobody:3/1h,30/1d


-- no debconf information

-- 
Bill Wohler <woh...@newt.com> aka <bill.woh...@nasa.gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to