supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Thomas Schwinge <schwinge-lists-skarnet.org-supervision@nic-nac-project.de>
Cc: supervision@list.skarnet.org
Subject: Re: supervised processes controlled by non-root user?
Date: Thu, 15 Sep 2005 14:05:56 +0200	[thread overview]
Message-ID: <20050915120556.GA4861@nic-nac-project.de> (raw)
In-Reply-To: <43295EAE.9080903@robinbowes.com>

On Thu, Sep 15, 2005 at 12:44:46PM +0100, Robin Bowes wrote:
> Presumably this would work even if the service in question uses
> privileged ports as the actual starting and stoping of the service is
> done by the svscan process which is started by svscanboot?

Yes.

> >Or, if the complete service should be owned by the user, see
> > http://article.gmane.org/gmane.comp.sysutils.supervision.general/795
> 
> This is a "nicer" solution. Is this possible with daemontools, or only
> using your runit package?

There once was a web page that described how to set up a service
directory in a user's home directory.
I can't find the URL at the moment, but the procedure was something like
having a service /service/user_service-USER, which has
#v+
exec \
setuidgid USER \
svscan ~USER/service
#v-
... in its run file.


Regards,
 Thomas


  reply	other threads:[~2005-09-15 12:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15  8:30 Robin Bowes
2005-09-15  9:42 ` Gerrit Pape
2005-09-15 11:44   ` Robin Bowes
2005-09-15 12:05     ` Thomas Schwinge [this message]
2005-09-15 12:17       ` Robin Bowes
2005-10-26 10:12 ` tkooda-list-skarnet.org-supervision-dated-60128960.bmlhi
2005-10-30 12:43   ` Robin Bowes

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=20050915120556.GA4861@nic-nac-project.de \
    --to=schwinge-lists-skarnet.org-supervision@nic-nac-project.de \
    --cc=supervision@list.skarnet.org \
    /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).