Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714012 - sys-apps/shadow-4.8-r4: /usr/lib64/cracklib_dict.pwd.gz: No such file or directory
Summary: sys-apps/shadow-4.8-r4: /usr/lib64/cracklib_dict.pwd.gz: No such file or dire...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-03-22 16:32 UTC by Balint SZENTE
Modified: 2020-08-21 08:24 UTC (History)
2 users (show)

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


Attachments
shadow-4.8-r4.ebuild patch (shadow-cracklib.patch,463 bytes, patch)
2020-03-22 16:33 UTC, Balint SZENTE
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Balint SZENTE 2020-03-22 16:32:28 UTC
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.
Comment 1 Balint SZENTE 2020-03-22 16:33:54 UTC
Created attachment 624508 [details, diff]
shadow-4.8-r4.ebuild patch

The ebuild patch that fixes the problem.
Comment 2 Larry the Git Cow gentoo-dev 2020-08-21 08:24:29 UTC
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(-)