In single user mode (/usr partition not mounted): # passwd Changing password for root Enter the new password (minimum of 5, maximum of 127 characters) Please use a combination of upper and lower case letters and numbers. New password: /usr/lib64/cracklib_dict.pwd: No such file or directory PWOpen: Illegal seek # Since cracklib is a reverse dependency of shadow (with USE=cracklib), the dictionary should be available in /lib*.
> cracklib is a reverse dependency of shadow (with USE=cracklib) s/reverse //
Confirm. This bug can be quite PITA. Could we make it happen in main tree?
Also, it really belongs in /var.
(In reply to Michał Górny from comment #3) > Also, it really belongs in /var. Which may not be mounted either at that point. Anyway, current sys-apps/shadow-4.5 fails gracefully when it doesn't find the file, so the issue is no longer a showstopper: # passwd New password: /usr/lib/cracklib_dict.pwd.gz: No such file or directory BAD PASSWORD: error loading dictionary Retype new password: passwd: password updated successfully # Closing.