Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195498 - sys-libs/cracklib-2.8.10 - passwd: Critical Error - immediate abort
Summary: sys-libs/cracklib-2.8.10 - passwd: Critical Error - immediate abort
Status: RESOLVED DUPLICATE of bug 195017
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 13:56 UTC by Robert Bradbury
Modified: 2007-10-11 14:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2007-10-11 13:56:23 UTC
The recent upgrade to cracklib (2.8.10) resulted in the passwd error listed above.  This is due to the fact that the dictionary files (/usr/lib/cracklib_dict.*) are missing.  It is necessary to install sys-apps/cracklib-words to correct this problem.

Portage should probably be updated such that sys-libs/cracklib has a dependency on sys-apps/cracklib-words.

Reproducible: Always

Steps to Reproduce:
1.Install sys-apps/cracklib
2.(should be on a system w/o /usr/lib/cracklib_dict.*)
3.Attempt to run passwd.

Actual Results:  
Passwd fails with the documented error (which is less than completely informative!)

Expected Results:  
Passwd should work even when the cracklib dictionaries are not present.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-11 13:58:07 UTC
This has nothing to do with Gentoo Security; read the descriptions please.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-11 14:03:25 UTC
Re-emerge your sys-libs/cracklib; it's broken.

$ equery f cracklib | grep /dict
/usr/share/dict
/usr/share/dict/cracklib-small
Comment 3 Robert Bradbury 2007-10-11 14:27:01 UTC
I don't particularly care *what* the equery says (mine says what yours says).

I emerged it again:
[ebuild   R   ] sys-libs/cracklib-2.8.10  USE="python -nls" 0 kB 

and

strings /lib/libcrack.so|grep usr
says:
/usr/lib/cracklib_dict

And if you don't have cracklib-words installed you *will* get the error because you will be missing 3 files of the form /usr/lib/cracklib_dict.*.  Removing those files causes passwd to produce the error.  Restoring them eliminates the error.

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-10-11 14:30:23 UTC
Re-emerge shadow; as said, it works just fine here. Anyway, dupe.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-10-11 14:30:38 UTC

*** This bug has been marked as a duplicate of bug 195017 ***