From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/636 Path: main.gmane.org!not-for-mail From: Anthony Baker Newsgroups: gmane.comp.sysutils.supervision.general Subject: Invoking runsvctrl as non-root Date: Tue, 30 Nov 2004 17:06:46 -0800 Message-ID: <1101863206.3060.236.camel@localhost.localdomain> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1101863214 1398 80.91.229.6 (1 Dec 2004 01:06:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2004 01:06:54 +0000 (UTC) Original-X-From: supervision-return-875-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Dec 01 02:06:51 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14] ident=qmailr) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CZIxH-0001nN-00 for ; Wed, 01 Dec 2004 02:06:51 +0100 Original-Received: (qmail 12432 invoked by uid 76); 1 Dec 2004 01:07:10 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 12426 invoked from network); 1 Dec 2004 01:07:10 -0000 Original-To: supervision@list.skarnet.org X-Mailer: Ximian Evolution 1.4.6 Xref: main.gmane.org gmane.comp.sysutils.supervision.general:636 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:636 I'm running into a permissions issue trying to invoke runsvctrl as a non-root user: $ runsvctrl d . runsvctrl: warning: .: unable to open supervise/control: access denied I'm using runit-1.0.5 on a solaris8 system to supervise a java server process. runsv is being spawned automatically by the runsvdir-start script. The run script switches to a non-root user (via chpst). I need this user to be able to bring the server process up and down. Invoking runsvctrl/runsvstat as root works beautifully, of course. Any ideas? TIA, Anthony