Bug 654367
Summary: | runuser prompts password even when called by root | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mamoru TASAKA <mtasaka> |
Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | dueno, dwalsh, i18n-bugs, kdudka, ovasik, twaugh |
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: | 2010-11-19 05:51:10 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: |
Description
Mamoru TASAKA
2010-11-17 17:26:25 UTC
After looking at the output of strace, I think this is due to the bug of runuser program in coreutils, used by daemon() in initscripts: $ su # id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 # runuser -s /bin/bash nobody runuser: incorrect password Actually it seems that coreutils-8.7-runuser.patch was recently added to coreutils-8.7-1.fc15. Thanks for report, it's likely, due to heavy changes caused by adopting new PAM patch. Will check where is the problem. *** Bug 654675 has been marked as a duplicate of this bug. *** coreutils-8.7-2.fc15 should fix the issue ( http://koji.fedoraproject.org/koji/buildinfo?buildID=205449 ) ... Seems good, thank you. # rpm -q coreutils groonga coreutils-8.7-2.fc15.i686 groonga-1.0.3-1.fc15.i686 # service groonga start Starting groonga (via systemctl): [ OK ] # service groonga status [[0,1290115689.94847,0.085431876],{"alloc_count":141,"starttime":1290115687,"uptime":3,"version":"1.0.3","n_queries":0,"cache_hit_rate":0.0,"command_version":1,"default_command_version":1,"max_command_version":2}] # runuser -s /bin/bash nobody bash-4.1$ exit Thanks for confirmation, closing RAWHIDE... |