Bug 1008822
Summary: | Can't log in the system when use "fips=1" in the grub.conf | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | xingge <gxing> |
Component: | nss-softokn | Assignee: | Elio Maldonado Batiz <emaldona> |
Status: | CLOSED DUPLICATE | QA Contact: | Ondrej Moriš <omoris> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.5 | CC: | acarter, borgan, dracut-maint-list, ebenes, jgalipea, kzak, ldai, liliu, mschmidt, qe-baseos-security, rrelyea, sforsber, tlavigne, tmraz |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-19 19:40:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1008513 | ||
Bug Blocks: | 843829 |
Description
xingge
2013-09-17 06:58:46 UTC
This bug did not happen to rhel6.5 server64 alpha 1.1 but happens to the newer rhel6.5 build rhel6.5-server-x86_64_20130913, so I marked this bug as Regression. In addition, this bug blocked our Entitlement testing under the FIPS mode, hopefully it can be resolved ASAP, Thanks! Regards, Libin (In reply to xingge from comment #0) > After restart the system, I can't log in the system. After enter the > username and password it says "Authentication failure". If the system booted as far as the login prompt, I do not think the bug is in dracut. If it were, I'd expect it to fail much earlier. Or do you have a reason to believe dracut is to blame? Does it work if you downgrade dracut to the version from "rhel6.5 server64 alpha 1.1"? Is interesting getting logged in /var/log/secure? To get a shell and the logs add "init=/bin/bash" to the kernel command line. And no, it's _not_ a dracut bug. IMHO it's PAM/crypto issue. No idea if this is related, but see https://bugzilla.redhat.com/show_bug.cgi?id=1008513 I was able to reproduce this. In /var/log/secure there is: unix_chkpwd[2872]: password check failed for user (root) I was able to make it work by downgrading some nss and nss-softokn packages: Packages Altered: Downgrade nss-3.14.3-37.el6.x86_64 @/nss-3.14.3-37.el6.x86_64 Downgraded 3.15.1-5.el6.x86_64 @beaker-Server Downgrade nss-softokn-3.14.3-5.el6.x86_64 @/nss-softokn-3.14.3-5.el6.x86_64 Downgraded 3.14.3-6.el6.x86_64 @beaker-Server Erase nss-softokn-fips-3.14.3-6.el6.x86_64 @beaker-Server Downgrade nss-softokn-freebl-3.14.3-5.el6.x86_64 @/nss-softokn-freebl-3.14.3-5.el6.x86_64 Downgraded 3.14.3-6.el6.x86_64 @beaker-Server Erase nss-softokn-freebl-fips-3.14.3-6.el6.x86_64 @beaker-Server Downgrade nss-sysinit-3.14.3-37.el6.x86_64 @/nss-sysinit-3.14.3-37.el6.x86_64 Downgraded 3.15.1-5.el6.x86_64 @beaker-Server Downgrade nss-tools-3.14.3-37.el6.x86_64 @/nss-tools-3.14.3-37.el6.x86_64 Downgraded 3.15.1-5.el6.x86_64 @beaker-Server Then I tried to isolate it even further, but upgrading just nss-softokn back to the original version caused RPM to break and I could no longer install anything. Reassigning to nss. This bug is very similar to Bug 1008513. > Then I tried to isolate it even further, but upgrading just nss-softokn back > to the original version caused RPM to break and I could no longer install > anything. > Reassigning to nss. I'm moving this to softoken, because it's the most likely recent change to cause the issue, but we have to be careful about the above statement. Down grading NSS, and just updating nss-softokn will cause a problem because the nss-softokn-fips package would not be picked up, which would be required in this operation. Michal, did you install the nss-softokn-fips package? bob Theres a patch in bug 1008513 that should fix this issue. (In reply to Bob Relyea from comment #11) > Downgrading NSS, and just updating nss-softokn will cause a problem because > the nss-softokn-fips package would not be picked up, which would be required > in this operation. Michal, did you install the nss-softokn-fips package? No, I did not. I did just "yum update nss-softokn", which did not pull in any other dependencies to the yum transaction. Since nss requires nss-softon-fips, an update of nss brings in nss-sstokn-fips and also nss-softokn-freenl-fips. *** This bug has been marked as a duplicate of bug 1008513 *** |