supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* chpst and secondary groups (runit-1.2.3)
@ 2005-08-15 21:01 Charles Duffy
  2005-08-15 21:09 ` Paul Jarc
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Duffy @ 2005-08-15 21:01 UTC (permalink / raw)


I have a service which needs serial port access, meaning it needs access
to a secondary group (its primary one is set differently for Good Reasons).

Right now I'm using chpst (from runit) to set the uid and gid for this
process -- but chpst doesn't set secondary groups. This is, for obvious
reasons, problematic.

Any suggested workarounds? Using ACLs for the relevant permissions is
distinctly unpleasant. 



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: chpst and secondary groups (runit-1.2.3)
  2005-08-15 21:01 chpst and secondary groups (runit-1.2.3) Charles Duffy
@ 2005-08-15 21:09 ` Paul Jarc
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Jarc @ 2005-08-15 21:09 UTC (permalink / raw)
  Cc: supervision

Charles Duffy <cduffy@spamcop.net> wrote:
> Right now I'm using chpst (from runit) to set the uid and gid for this
> process -- but chpst doesn't set secondary groups.

If you can get the appropriate list of GIDs into an environment
variable, you can use setstate:
http://code.dogmap.org./idtools/setstate/


paul


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-15 21:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-15 21:01 chpst and secondary groups (runit-1.2.3) Charles Duffy
2005-08-15 21:09 ` Paul Jarc

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).