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:
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.