Subject: bug#49134: closed (Re: bug#49134: [PATCH] services: libvirt: Change unix-sock-group default.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 04 Sep 2021 07:35:02 +0000

Your bug report

#49134: [PATCH] services: libvirt: Change unix-sock-group default.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
49134: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49134
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#49134: [PATCH] services: libvirt: Change unix-sock-group default.
From: Brice Waegeneire <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Sat, 04 Sep 2021 09:34:35 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> writes:

> Brice Waegeneire <[email-masked]> skribis:
>
>> * gnu/services/virtualization.scm (libvirt-configuration)
>> [unix-sock-group]: Change default from "root" to "libvirt".
>
> LGTM!

Thank for the reviews Ludo’, pushed as 4dc17cd54e86dbd71d26b87138660d42e8f615a9.

Subject: [PATCH] services: libvirt: Change unix-sock-group default.
From: Brice Waegeneire <[email-masked]>
To: [email-masked]
Date: Sun, 20 Jun 2021 15:39:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

When accessing libvrtd remotely, polkit can't be used unless you are
logged as root.  Instead allow libvirt groups member access to the
control socket.

* 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 36e9feb05c..126fa52279 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.31.1