With USE="-pam" the CRACKLIB_DICTPATH points to the wrong directory. Reproducible: Always Steps to Reproduce: 1. # emerge sys-apps/shadow 2. # passwd And enter a proper and long password. Actual Results: # passwd Changing password for root Enter the new password (minimum of 5 characters) Please use a combination of upper and lower case letters and numbers. New password: /usr/lib64/cracklib_dict.pwd.gz: No such file or directory Bad password: error loading dictionary. Expected Results: passwd should check the password properly.
Created attachment 624508 [details, diff] shadow-4.8-r4.ebuild patch The ebuild patch that fixes the problem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4abacc143cdd5098151fe8d70259b3aa707574c6 commit 4abacc143cdd5098151fe8d70259b3aa707574c6 Author: Mikle Kolyada <zlogene@gentoo.org> AuthorDate: 2020-08-21 08:23:54 +0000 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2020-08-21 08:24:27 +0000 sys-apps/shadow: fix cracklib dictonary path Closes: https://bugs.gentoo.org/714012 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> sys-apps/shadow/shadow-4.8-r5.ebuild | 2 +- sys-apps/shadow/shadow-4.8.1-r3.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)