Comment 3 for bug 278743

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 278743] Re: libpam-cracklib cannot find cracklib_dict.pwd after install

On Tue, Oct 14, 2008 at 12:12:34PM -0000, Jan Dittberner wrote:
> The bug may occur if no dictionary is installed at the system or update-
> cracklib has not been called at least once. The post-install script of
> cracklib-runtime should call update-cracklib for this purpose. Cracklib-
> runtime contains a cron.daily job that calls update-cracklib, but
> postinst should use it too.

And this is supposed to happen, and from what I see, *usually* does:

if [ "$1" = "configure" -a -r /etc/cracklib/cracklib.conf ]; then
    /usr/sbin/update-cracklib > /dev/null
    [...]
fi

So I don't know what the error condition is - a missing
/etc/cracklib/cracklib.conf on upgrade?

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>