Bug 627605
Summary: | insufficient privilege to check service status | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alessandro Lenzen <com.redhat.bugzilla> | ||||||||
Component: | autofs | Assignee: | Ian Kent <ikent> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | low | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 13 | CC: | ikent, jmoyer | ||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||
Target Release: | --- | ||||||||||
Hardware: | i686 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | autofs-5.0.5-28.fc13 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2010-09-08 02:20:44 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: |
|
Created attachment 441224 [details]
don't check for root if $1 is status
I've not tested this, but it's a better fix that what was proposed.
Test, works. Thank you. Can't close the bug out until it's fixed in the distro. ;-) Thanks for the testing! Created attachment 441382 [details]
Patch - fix init script status privilege error
Jeff's patch with an added description.
autofs-5.0.5-28.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/autofs-5.0.5-28.fc13 autofs-5.0.5-31.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/autofs-5.0.5-31.fc14 autofs-5.0.5-28.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update autofs'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/autofs-5.0.5-28.fc13 autofs-5.0.5-28.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. autofs-5.0.5-31.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 441220 [details] removes check if run as root Description of problem: Root privilege required to check service status Version-Release number of selected component (if applicable): autofs-5.0.5-26.fc13.i686 How reproducible: always Steps to Reproduce: 1. $ /etc/init.d/autofs status Actual results: insufficient privilege to change service status Expected results: automount (PID 13163) ... Additional info: