passwd does not work after f8 -> f9 upgrade

Jarosław Górny jaroslav at aster.pl
Sat May 17 16:18:26 UTC 2008


Hi,
I've searched BZ, but not found anything similar.
Couple of days ago I've upgraded to f9 with plain old "yum update". The 
process went smoothly, but now I'm not able to use passwd. Any try to change 
password (directly as a user, or as a root) fails:

<code>
[root at moonstone cracklib]# LANG=C passwd testowy
Changing password for user testowy.
New UNIX password:
/usr/share/cracklib/pw_dict: error reading header
PWOpen: Success
</code>

appropriate fragment of strace looks like this:

<code>
write(2, "New UNIX password: ", 19)     = 19
read(0, "lame_password\n", 511)         = 14
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
write(2, "\n", 1)                       = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
open("/usr/share/cracklib/pw_dict.pwd", O_RDONLY) = 4
open("/usr/share/cracklib/pw_dict.pwi", O_RDONLY) = 5
open("/usr/share/cracklib/pw_dict.hwm", O_RDONLY) = 6
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb80d9000
read(5, "", 4096)                       = 0
write(2, "/usr/share/cracklib/pw_dict: err"..., 50) = 50
close(5)                                = 0
munmap(0xb80d9000, 4096)                = 0
close(4)                                = 0
close(6)                                = 0
write(2, "PWOpen: Success\n", 16)       = 16
exit_group(-1)                          = ?
</code>


If this should be reported in BZ, I'll do it. Any tips to solve this really 
appreciated. Thanks,

regards,


-- 
jg




More information about the devel mailing list