Bug #1646
service puppet status does not work as non-root on redhat system
| Status: | Closed | Start date: | 10/12/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Red Hat | |||
| Target version: | 0.24.6 | |||
| Affected Puppet version: | 0.24.5 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
Description of problem:
service puppet status does not work as non-root
Version-Release number of selected component (if applicable): puppet-0.24.4-1.el5
How reproducible: always
Steps to Reproduce: 0. service puppet is running 1. as root: service puppet status 2. as user: service puppet status
Actual results: as user it says that puppet is not running
Expected results: root and user give the same result
Additional info: this can be fixed by changing the init-script conf/redhat/client.init:
87c87
< status $puppetd¶
status -p "$pidfile" $puppetd
History
Updated by James Turnbull over 3 years ago
- Category set to Red Hat
- Status changed from Unreviewed to Accepted
- Assignee set to David Lutterkort
David?
Updated by David Lutterkort over 3 years ago
Yes, that small change does indeed fix it. Do you want me to generate a proper patch in my git tree ?
Updated by James Turnbull over 3 years ago
or a patch. either is good.
Updated by David Lutterkort over 3 years ago
- File 0001-Fix-1646-let-normal-users-run-service-puppet-stat.patch added
- Status changed from Accepted to Ready For Checkin
Here’s the patch against current 0.24.x
Updated by James Turnbull over 3 years ago
- Status changed from Ready For Checkin to Closed
- Target version set to 0.24.6
Pushed in commit:7f5ded185269cabeb7921c4f4739e1f66a34d54d in branch 0.24.x