Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 187320

Summary: app-crypt/johntheripper-1.7.2-r1 - incorrect configuration
Product: Gentoo Linux Reporter: Paul Taylor <birder>
Component: Current packagesAssignee: Alon Bar-Lev (RETIRED) <alonbl>
Status: RESOLVED FIXED    
Severity: normal CC: crypto+disabled
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Taylor 2007-08-01 02:58:14 UTC
johntheripper-1.7.2-r1 has various problems with its configuration, even after reemerging it.  (The residual /etc/john and $HOME/.john directories were removed manually after the package was unmerged to ensure a clean build.)

After cracking the first password, john fails with the following error:
   fopen: /etc/john/password.lst: No such file or directory

Touching this file allows john to continue, but not for long:
   fopen: /etc/john/all.chr: No such file or directory

password.lst and all.chr are actually stored in /usr/share/john.

The 1.7.2-r1 ebuild includes:
  -DJOHN_SYSTEMWIDE_HOME=\\\"\\\\\\\"/etc/john\\\\\\\"\\\"\"
which explains why it is not looking in the default location /usr/share/john.
If this is intentional, password.lst, all.chr etc. need to be moved to /etc/john.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2007-08-01 04:37:24 UTC
Thanks!
Sorry about this... This package had gone a major cleanup.