From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goWh8-0003oS-42 for guix-patches@gnu.org; Tue, 29 Jan 2019 11:57:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goWh6-000377-45 for guix-patches@gnu.org; Tue, 29 Jan 2019 11:57:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goWh4-00036M-9l for guix-patches@gnu.org; Tue, 29 Jan 2019 11:57:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goWh4-0007eZ-3n for guix-patches@gnu.org; Tue, 29 Jan 2019 11:57:02 -0500 Subject: [bug#34240] [PATCH 2/5] services: Add cups-pk-helper. Resent-Message-ID: References: <87a7jjr8y3.fsf@cbaines.net> <20190129114242.32481-1-mail@cbaines.net> <20190129114242.32481-2-mail@cbaines.net> <87ef8vpg6i.fsf@elephly.net> From: Christopher Baines In-reply-to: <87ef8vpg6i.fsf@elephly.net> Date: Tue, 29 Jan 2019 16:56:26 +0000 Message-ID: <874l9rqu6d.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 34240@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > Christopher Baines writes: > >> This service integrates cups and PolicyKit. The gnome-control-center pri= nting >> section uses this functionality. >> >> * gnu/sevices/desktop.scm (cups-pk-helper-service-type): New variable. >> (%desktop-services): Add the cups-pk-helper service. > > I wonder if this service is really needed or if it would be enough to > install the package into the system profile, for example. > > (It looks fine to me, but I=E2=80=99m still curious.) Thanks for taking a look Ricardo. I'm unsure, this DBus/Polkit stuff is still a bit of a mystery to me. These files are put in place by the service [1], and I think that's what makes it do stuff... 1: /etc/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service /etc/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy I guess it entirely depends on the configuration for DBus and Polkit in Guix, but I can't see similar things in /run/current-system/profile/etc/ so I'm guessing it's not currently possible to make this work through the system profile. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxQhbpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdrEBAAm+yq3CB1akTQiD+iS+rhXRp7XQJhvcG+tgACXF+tzZX4XrSSwDlrXJZV 8CGXSxPy2oEc+rKRWqfDtj7Ivqwm0W0rBfmK8T199T1HIaMLj2Z5NlyzFpUdoDTm DXSbElqbhyyi/LGZf8yGDSo98qp6GDmLOJdAC324kGDq6hpqkaXQrzX/AfufOi+n 54Y4u0fUyS+tjC7tsaGXSSHbt/VweTePhSpr7Wsd9DVJesluEvn6BX2QTD4P6S7f FsTU6x21ST007LycxmnR8X5CaRwnDKZhS9dOrS1y+8R2Qn9Yw6+BCBdJHAOGpneR PBTFWY0AripRoFawhsKMSn8YLh1ERdmA2rL5Y8oKR+JxD1MQPzVfi8OPpjXBqBlx OVzM4z/BUDiNfJZkdPR/eCrjNYuh8sBN7dity6UWIP3VBoT7BoOiT2tdSTs0MKYJ t0zeb/tLiuQ+u9WGjoaMtRXdG+4Wkrbe9BFKDo6mhVSaECyYJaSPRcqbwFEijVju RNuPTNwVuWH+1WbVEGvqxkyJD2Obm72XeLk+3oIRTl+jwONhitgPtemHgii25Up1 7hGn5hAeMLb2KaBVdQc4sEMngqhsO/fhrNGg+MdEcmZhkIhki6JPMIaPfrs0/g87 3iVZRbScjhYoYiWlZbtUZe0G7VLarFbT9s8fmqygVKyFJJ+sy5Y= =VqP3 -----END PGP SIGNATURE----- --=-=-=--