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.
This has nothing to do with Gentoo Security; read the descriptions please.
Re-emerge your sys-libs/cracklib; it's broken. $ equery f cracklib | grep /dict /usr/share/dict /usr/share/dict/cracklib-small
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.
Re-emerge shadow; as said, it works just fine here. Anyway, dupe.
*** This bug has been marked as a duplicate of bug 195017 ***