Bug #1646

service puppet status does not work as non-root on redhat system

Added by Sander Hoentjen over 3 years ago. Updated over 3 years ago.

Status:Closed Start date:10/12/2008
Priority:Normal Due date:
Assignee:David Lutterkort % 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

0001-Fix-1646-let-normal-users-run-service-puppet-stat.patch (657 Bytes) David Lutterkort, 10/14/2008 12:17 am

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

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

Also available in: Atom PDF