unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Brice Waegeneire <brice@waegenei.re>
To: 46623@debbugs.gnu.org
Subject: [bug#46623] [PATCH 2/4] services: libvirt: Change unix-sock-group default.
Date: Thu, 18 Feb 2021 21:48:10 +0100	[thread overview]
Message-ID: <20210218204812.21093-2-brice@waegenei.re> (raw)
In-Reply-To: <87zh015d48.fsf@waegenei.re>

When accessing libvrt remotely, polkit can't be used so unless using
the root account it's better give access to the libvirt-sock to the
libvirt group by default.

*
gnu/services/virtualization.scm (libvirt-configuration)[unix-sock-group]:
Change default from "root" to "libvirt".
---
 gnu/services/virtualization.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index a45da14a80..afc47ff578 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -168,7 +168,7 @@ stopping the Avahi daemon.")
    "Default mDNS advertisement name. This must be unique on the
 immediate broadcast network.")
   (unix-sock-group
-   (string "root")
+   (string "libvirt")
    "UNIX domain socket group ownership. This can be used to
 allow a 'trusted' set of users access to management capabilities
 without becoming root.")
-- 
2.30.1





  parent reply	other threads:[~2021-02-18 20:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18 20:24 [bug#46623] [PATCH 0/4] gnu: libvirt: Update to 7.0.0 Brice Waegeneire
2021-02-18 20:48 ` [bug#46623] [PATCH 1/4] gnu: libvirt: Enable disk and directory storage Brice Waegeneire
2021-02-18 20:48 ` Brice Waegeneire [this message]
2021-02-18 20:48 ` [bug#46623] [PATCH 3/4] services: libvirt: Add qemu field Brice Waegeneire
2021-02-18 20:48 ` [bug#46623] [PATCH 4/4] gnu: libvirt: Update to 7.0.0 Brice Waegeneire
2021-04-02 11:56   ` Pierre Langlois
2021-04-02 11:58     ` [bug#46623] [PATCH 1/6] tests: libvirt: Catch issues with incorrect /var and /etc in package Pierre Langlois
2021-04-02 11:58       ` [bug#46623] [PATCH 2/6] gnu: libvirt: Enable disk and directory storage Pierre Langlois
2021-04-02 11:58       ` [bug#46623] [PATCH 3/6] gnu: libvirt: Update to 7.2.0 Pierre Langlois
2021-04-02 11:59       ` [bug#46623] [PATCH 4/6] gnu: python-libvirt: " Pierre Langlois
2021-04-02 11:59       ` [bug#46623] [PATCH 5/6] gnu: libvirt-glib: Update to 4.0.0 Pierre Langlois
2021-04-02 11:59       ` [bug#46623] [PATCH 6/6] gnu: virt-manager: Update to 3.2.0 Pierre Langlois
2021-04-05 16:37     ` [bug#46623] [PATCH 0/4] gnu: libvirt: Update to 7.0.0 Ludovic Courtès
2021-04-05 18:52       ` Pierre Langlois
2021-04-01 20:29 ` bug#46623: " Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20210218204812.21093-2-brice@waegenei.re \
    --to=brice@waegenei.re \
    --cc=46623@debbugs.gnu.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.
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).