Bug 771095

Summary: cracklib PW check broken
Product: [openSUSE] openSUSE 12.2 Reporter: Bernhard Wiedemann <bwiedemann>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: VERIFIED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 12.2   
Whiteboard:
Found By: Sprint Testing Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs

Description Bernhard Wiedemann 2012-07-12 08:47:08 UTC
Created attachment 498348 [details]
yast2 logs

with 12.2-RC1, the cracklib password check during install is broken

last  seen working Build0451 2012-06-22 (Beta2)
first seen failing Build0050 2012-07-11 (RC1)

Steps To Reproduce:
qemu-kvm -cdrom /mounts/dist/install/openSUSE-UNTESTED/openSUSE-DVD-i586-Build0050-Media.iso -m 1000
in the user dialog enter as password "abc123" or other weak ones

Actual Results:
password is accepted

Expected Results:
"weak password" warning should pop up

Reproducible: Always

Note: all lowercase passwords are still warned about
Comment 1 Jiří Suchomel 2012-07-12 09:37:47 UTC
cracklib agent cannot be loaded:

2012-07-12 04:35:14 <3> linux(2702) [liby2] Y2PluginComponent.cc(loadPlugin):239 error loading plugin /usr/lib/YaST2/plugin/libpy2ag_crack.so.2: /usr/lib/YaST2/plugin/libpy2ag_crack.so.2: undefined symbol: ee


Arvin, does this have enything in common with your changes to yast2-core?


https://github.com/yast/yast-core/commit/1d9f467499c4cc20898336c072d8cab23393edce
Comment 2 Arvin Schnell 2012-07-12 12:48:10 UTC
yast2-users wasn't rebuild after the change to yast2-core.

yast2-devtools was updated so that libpy2ag_crack.so.2 properly links
to libycpvalues and liby2util so that the buildservice rebuilds e.g.
yast2-users in the future if the libraries change.

But now this must be done once manually which I told coolo to do.