Bug 787838
Summary: | no login for liveuser | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | nucleo <alekcejk> | ||||||
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | bruno, dominick.grift, dwalsh, kevin, maxamillion, mgrepl, vanmeeuwen+fedora | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-02-09 22:52:34 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
nucleo
2012-02-06 21:56:27 UTC
Running "passwd -d liveuser" from root makes liveuser login working. If you leave the login at the gdm screen, does the timed login work and log you in? If you boot with 'enforcing=0' does it let you login? Can't tell anything about gdm because -desktop cd not starts So I tested only KDE live image. Adding 'enforcing=0' makes liveuser login working both in kdm and in console. If 'enforcing=0' added than no "!!" in "liveuser::15379:0:99999:7:::" in /etc/shadow. If 'enforcing=0' omitted than "!!" appears in "liveuser:!!:15379:0:99999:7::: and no login possible. Moving over to selinux policy. Is something preventing root from doing 'passwd -d liveuser' ? Can you check for any avcs in the case where it doesn't work and attach them? Created attachment 560723 [details]
/var/log/messages
Created attachment 560724 [details]
/var/log/audit/audit.log
There are a lot of avc messages but I don't know which is related to "passwd -d liveuser".
When I run "passwd -d liveuser" it just removes password as it should.
These look likely: type=AVC msg=audit(1328833300.266:52): avc: denied { create } for pid=535 comm="passwd" scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=netlink_selinux_socket type=AVC msg=audit(1328833300.281:53): avc: denied { bind } for pid=535 comm="passwd" scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=netlink_selinux_socket type=AVC msg=audit(1328833300.304:54): avc: denied { compute_av } for pid=535 comm="passwd" scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:object_r:security_t:s0 tclass=security type=USER_AVC msg=audit(1328833300.314:55): pid=0 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:initrc_t:s0 msg='avc: denied { passwd } for scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=passwd : exe="/usr/bin/passwd" sauid=0 hostname=? addr=? terminal=?' type=USER_CHAUTHTOK msg=audit(1328833300.328:56): pid=0 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:initrc_t:s0 msg='op=change password id=1000 exe="/usr/bin/passwd" hostname=? addr=? terminal=? res=failed We need to remove the unconfined_permissive patch before we go to alpha, which is what I believe is breaking this. One question I have though is what is this not happening in the post install of the kick start rather then every boot? Fixed in selinux-policy-3.10.0-86.fc17 |