Bug 627605 - insufficient privilege to check service status
Summary: insufficient privilege to check service status
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: 13
Hardware: i686
OS: Linux
low
low
Target Milestone: ---
Assignee: Ian Kent
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-26 14:01 UTC by Alessandro Lenzen
Modified: 2010-09-08 04:32 UTC (History)
2 users (show)

Fixed In Version: autofs-5.0.5-28.fc13
Clone Of:
Environment:
Last Closed: 2010-09-08 02:20:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
removes check if run as root (341 bytes, patch)
2010-08-26 14:01 UTC, Alessandro Lenzen
no flags Details | Diff
don't check for root if $1 is status (399 bytes, patch)
2010-08-26 14:16 UTC, Jeff Moyer
no flags Details | Diff
Patch - fix init script status privilege error (713 bytes, patch)
2010-08-27 03:19 UTC, Ian Kent
no flags Details | Diff

Description Alessandro Lenzen 2010-08-26 14:01:05 UTC
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:

Comment 1 Jeff Moyer 2010-08-26 14:16:48 UTC
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.

Comment 2 Alessandro Lenzen 2010-08-26 16:18:11 UTC
Test, works. Thank you.

Comment 3 Jeff Moyer 2010-08-26 18:46:06 UTC
Can't close the bug out until it's fixed in the distro.  ;-)  Thanks for the testing!

Comment 4 Ian Kent 2010-08-27 03:19:20 UTC
Created attachment 441382 [details]
Patch - fix init script status privilege error

Jeff's patch with an added description.

Comment 5 Fedora Update System 2010-08-27 03:30:26 UTC
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

Comment 6 Fedora Update System 2010-08-27 04:10:51 UTC
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

Comment 7 Fedora Update System 2010-08-27 06:52:50 UTC
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

Comment 8 Fedora Update System 2010-09-08 02:20:30 UTC
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.

Comment 9 Fedora Update System 2010-09-08 04:32:58 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.