supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Anthony Baker <abaker@ncube.com>
Subject: Invoking runsvctrl as non-root
Date: Tue, 30 Nov 2004 17:06:46 -0800	[thread overview]
Message-ID: <1101863206.3060.236.camel@localhost.localdomain> (raw)

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



             reply	other threads:[~2004-12-01  1:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01  1:06 Anthony Baker [this message]
2004-12-01  3:03 ` Charles Duffy
2004-12-01  9:03   ` Ian Stokes-Rees
2004-12-01 16:10     ` Anthony Baker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1101863206.3060.236.camel@localhost.localdomain \
    --to=abaker@ncube.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).