Bug 1276376
| Summary: | OSError: Unable to set password for new user: status=3 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alexander Todorov <atodorov> | ||||||||||||||||||||||||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||||||||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||
| Version: | rawhide | CC: | anaconda-maint-list, atodorov, dshea, g.kaviyarasu, jonathan, vanmeeuwen+fedora | ||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:f426c8e89e0d2b3493800fcbbaf31df8671e151683e791f35bd476b812d47026; | ||||||||||||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||
| Last Closed: | 2015-11-03 08:40:22 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
Alexander Todorov
2015-10-29 14:50:44 UTC
Created attachment 1087569 [details]
File: anaconda-tb
Created attachment 1087570 [details]
File: anaconda.log
Created attachment 1087571 [details]
File: dnf.log
Created attachment 1087572 [details]
File: dnf.rpm.log
Created attachment 1087573 [details]
File: environ
Created attachment 1087574 [details]
File: journalctl
Created attachment 1087575 [details]
File: lsblk_output
Created attachment 1087576 [details]
File: nmcli_dev_list
Created attachment 1087577 [details]
File: os_info
Created attachment 1087578 [details]
File: program.log
Created attachment 1087579 [details]
File: storage.log
Created attachment 1087580 [details]
File: packaging.log
Is selinux enabled? I see this in the logs:
Oct 29 10:45:17 tyan-gt24-05.rhts.eng.bos.redhat.com audit[1111]: AVC avc: denied { sys_chroot } for pid=1111 comm="chpasswd" capability=18 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tclass=capability permissive=0
Yes, SELinux is enabled. The strange thing however is that this appears to work when I execute anaconda as /usr/sbin/anaconda and not when I execute if from a git checkout. Also it doesn't appear anaconda to modify /etc/ on the host system. It's strange that we get an avc denial in one case and not in the other. Btw I have resolved my other issues with running from a git checkout and will submit a patch tomorrow. You should run it in permissive mode, running it from the checkout will confuse selinux which expects: system_u:object_r:install_exec_t:s0 /usr/sbin/anaconda* Understood. Closing then. |