unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Sharing system users for related services
@ 2021-03-22 12:40 raingloom
  2021-03-22 16:13 ` Leo Prikler
  0 siblings, 1 reply; 2+ messages in thread
From: raingloom @ 2021-03-22 12:40 UTC (permalink / raw)
  To: guix-devel@gnu.org

I'm packaging the Molly Brown Gemini server and I'm trying to play nice
with the already packaged gmnisrv.
Should the two use the same service name and system users? Most users
probably won't want to run both servers at the same time, so the former
seems like a good idea. And the latter would be preferable because if
they use the same certs, %gmnisrv-activation will trample over the
permissions when they do want to run both for some reason.

So should I just reuse %gmnisrv-accounts or should they both use a
shared %gemini-server-accounts?


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

* Re: Sharing system users for related services
  2021-03-22 12:40 Sharing system users for related services raingloom
@ 2021-03-22 16:13 ` Leo Prikler
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Prikler @ 2021-03-22 16:13 UTC (permalink / raw)
  To: raingloom, guix-devel@gnu.org

Hi raingloom,

Am Montag, den 22.03.2021, 13:40 +0100 schrieb raingloom:
> I'm packaging the Molly Brown Gemini server and I'm trying to play
> nice
> with the already packaged gmnisrv.
> Should the two use the same service name and system users? Most users
> probably won't want to run both servers at the same time, so the
> former
> seems like a good idea. And the latter would be preferable because if
> they use the same certs, %gmnisrv-activation will trample over the
> permissions when they do want to run both for some reason.
> 
> So should I just reuse %gmnisrv-accounts or should they both use a
> shared %gemini-server-accounts?
As the one, who wrote the code, that lets you share accounts as list
"pointers" in the first place, I do think something along the lines of 
  (define %molly-brown-accounts %gmnisrv-accounts)
with an appropriate comment should be fine, especially for a proof of
concept implementation.  That being said, patch review is an ideal
opportunity to bikeshed such definitions ;)

Regards,
Leo



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

end of thread, other threads:[~2021-03-22 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 12:40 Sharing system users for related services raingloom
2021-03-22 16:13 ` Leo Prikler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).