[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/22: services: gnome-desktop-service-type: Extend setuid-program-servi
From: |
guix-commits |
Subject: |
19/22: services: gnome-desktop-service-type: Extend setuid-program-service-type. |
Date: |
Sat, 25 Feb 2023 14:51:30 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit dd31263eb4cd42188c1d4685f03bb075c5f73469
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Feb 17 00:41:15 2023 -0500
services: gnome-desktop-service-type: Extend setuid-program-service-type.
* gnu/services/desktop.scm (gnome-setuid-programs): New variable.
(gnome-desktop-service-type): Extend setuid-program-service-type with it.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/services/desktop.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 5ddfbb9e53..2034b3d099 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -1379,6 +1379,14 @@ rules."
;; in GNOME Boxes.
("gnome-boxes" "spice-gtk")))))
+(define (gnome-setuid-programs config)
+ "Return the list of GNOME setuid programs."
+ (let* ((gnome (gnome-desktop-configuration-gnome config))
+ (spice-gtk (gnome-package gnome '("gnome-boxes" "spice-gtk"))))
+ (map file-like->setuid-program
+ (list (file-append spice-gtk
+ "/libexec/spice-client-glib-usb-acl-helper")))))
+
(define gnome-desktop-service-type
(service-type
(name 'gnome-desktop)
@@ -1387,6 +1395,8 @@ rules."
gnome-udev-rules)
(service-extension polkit-service-type
gnome-polkit-settings)
+ (service-extension setuid-program-service-type
+ gnome-setuid-programs)
(service-extension profile-service-type
(compose list
gnome-desktop-configuration-gnome))))
(default-value (gnome-desktop-configuration))
- 13/22: gnu: phodav: Propagate glib, libsoup and libxml2., (continued)
- 13/22: gnu: phodav: Propagate glib, libsoup and libxml2., guix-commits, 2023/02/25
- 04/22: gnu: spice-gtk: Update to 0.42., guix-commits, 2023/02/25
- 18/22: services: desktop: Extract a new gnome-package procedure., guix-commits, 2023/02/25
- 07/22: gnu: usbredir: Update to 0.13.0., guix-commits, 2023/02/25
- 08/22: gnu: virglrenderer: Update to 0.7.0., guix-commits, 2023/02/25
- 11/22: gnu: spice-vdagent: Update to 0.22.1., guix-commits, 2023/02/25
- 02/22: gnu: spice-gtk: Remove input labels., guix-commits, 2023/02/25
- 15/22: gnu: osinfo-db: Use libsoup 3., guix-commits, 2023/02/25
- 12/22: gnu: usbutils: Update to 015., guix-commits, 2023/02/25
- 10/22: gnu: spice: Update to 0.15.1., guix-commits, 2023/02/25
- 19/22: services: gnome-desktop-service-type: Extend setuid-program-service-type.,
guix-commits <=
- 05/22: gnu: spice-gtk: Propagate libjpeg-turbo, lz4, opus, and usbredir., guix-commits, 2023/02/25
- 16/22: gnu: gnome-boxes: Update to 43.3., guix-commits, 2023/02/25
- 06/22: gnu: spice-protocol: Update to 0.14.4., guix-commits, 2023/02/25
- 22/22: cpio: Properly handle Unicode characters in file names., guix-commits, 2023/02/25