Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250500 - sys-libs/cracklib: installs dictionary in /usr
Summary: sys-libs/cracklib: installs dictionary in /usr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 398051
  Show dependency tree
 
Reported: 2008-12-10 10:16 UTC by Ulrich Müller
Modified: 2017-08-15 08:45 UTC (History)
1 user (show)

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 Ulrich Müller gentoo-dev 2008-12-10 10:16:18 UTC
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*.
Comment 1 Ulrich Müller gentoo-dev 2008-12-10 20:14:30 UTC
> cracklib is a reverse dependency of shadow (with USE=cracklib)

s/reverse //
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-12-02 13:16:36 UTC
Confirm. This bug can be quite PITA. Could we make it happen in main tree?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-12 17:49:20 UTC
Also, it really belongs in /var.
Comment 4 Ulrich Müller gentoo-dev 2017-08-15 08:45:11 UTC
(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.