unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49134] [PATCH] services: libvirt: Change unix-sock-group default.
@ 2021-06-20 13:39 Brice Waegeneire
  2021-09-03 16:09 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Brice Waegeneire @ 2021-06-20 13:39 UTC (permalink / raw)
  To: 49134

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





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

* [bug#49134] [PATCH] services: libvirt: Change unix-sock-group default.
  2021-06-20 13:39 [bug#49134] [PATCH] services: libvirt: Change unix-sock-group default Brice Waegeneire
@ 2021-09-03 16:09 ` Ludovic Courtès
  2021-09-04  7:34   ` bug#49134: " Brice Waegeneire
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2021-09-03 16:09 UTC (permalink / raw)
  To: Brice Waegeneire; +Cc: 49134

Hi,

Brice Waegeneire <brice@waegenei.re> skribis:

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

LGTM!

Ludo’.




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

* bug#49134: [PATCH] services: libvirt: Change unix-sock-group default.
  2021-09-03 16:09 ` Ludovic Courtès
@ 2021-09-04  7:34   ` Brice Waegeneire
  0 siblings, 0 replies; 3+ messages in thread
From: Brice Waegeneire @ 2021-09-04  7:34 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 49134-done

Ludovic Courtès <ludo@gnu.org> writes:

> Brice Waegeneire <brice@waegenei.re> 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.




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

end of thread, other threads:[~2021-09-04  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-20 13:39 [bug#49134] [PATCH] services: libvirt: Change unix-sock-group default Brice Waegeneire
2021-09-03 16:09 ` Ludovic Courtès
2021-09-04  7:34   ` bug#49134: " Brice Waegeneire

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