Alex Mestiashvili <a...@biotec.tu-dresden.de> wrote: > Hi Bill, > > On 10/02/2013 01:06 AM, Bill Wohler wrote: > > 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 > > yes, it is very likely that the database upgrade caused the problem. > > > 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. > > Regarding the upgrade procedure, I am not sure that it makes sense to > implementing a tool which will upgrade databases during install/update
Given the ephemeral nature of this database, I would agree. > Currently I mentioned in the README.Debian that one should delete the > old databases or try to upgrade them manually in case of libdb > upgrade. Thanks. If it's easy to add a message to the installation scripts that the old database needs to be deleted, or perhaps to ask and delete the old database on behalf of the user, that would be helpful. > Btw, I've recently uploaded to experimental a new release - 0.6.0. > It has important changes, but unfortunately the binary package will > not work on wheezy because of dependencies. > > If you are willing to test it I'll provide the guidelines on how to > build it for wheezy. I'm good for now, and recent work travel has limited my free time so I'll wait for my next system upgrade. (I'm writing from a hotel room now.) > Sorry for such a long delay and best regards, No worries. Thanks for maintaining this package! > Alex > -- 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