From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:51284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goWnw-0006uY-DF for guix-patches@gnu.org; Tue, 29 Jan 2019 12:04:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goWnr-00077x-Nk for guix-patches@gnu.org; Tue, 29 Jan 2019 12:04:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51491) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goWnq-00077P-Ri for guix-patches@gnu.org; Tue, 29 Jan 2019 12:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goWnq-0007uH-Ba for guix-patches@gnu.org; Tue, 29 Jan 2019 12:04:02 -0500 Subject: [bug#34240] [PATCH 1/5] gnu: Add cups-pk-helper. Resent-Message-ID: References: <87a7jjr8y3.fsf@cbaines.net> <20190129114242.32481-1-mail@cbaines.net> <87fttbpg8p.fsf@elephly.net> From: Christopher Baines In-reply-to: <87fttbpg8p.fsf@elephly.net> Date: Tue, 29 Jan 2019 17:03:07 +0000 Message-ID: <8736pbqtv8.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: > >> * gnu/packages/cups.scm (cups-pk-helper): New variable. > [=E2=80=A6] >> + (synopsis "PolicyKit helper to configure cups with fine-grained >> privileges") > > Should be =E2=80=9CCUPS=E2=80=9D instead of =E2=80=9Ccups=E2=80=9D. Sure, I'll update. >> + (description >> + "This package provides the org.opensuse.CupsPkHelper.Mechanism DBus >> +system service which uses @file{cups-pk-helper-mechanism}. This package >> +should only be used as part of the Guix cups-pk-helper service.") > > I=E2=80=99d wrap the service names in @code{=E2=80=A6}. > > Why can it not be used without the cups-pk-helper service? Is it not > enough to install the package in a location that gets searched by DBus? I'm not sure if I'm correct here, but it looks like this might be the case from looking at the DBus stuff in the package. The DBus service contains "system-services" in the name, which is different from some other packages DBus configuration. /gnu/store/...-cups-pk-helper-0.2.6/share/dbus-1/system-services/org.opensu= se.CupsPkHelper.Mechanism.service Also, in that file, it says "User=3Droot". [D-BUS Service] Name=3Dorg.opensuse.CupsPkHelper.Mechanism Exec=3D/gnu/store/...-cups-pk-helper-0.2.6/libexec/cups-pk-helper-mechanism User=3Droot --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxQh0tfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcGcw//Rn8B/FvmNTNyHBFEw5Ccs9hFIg8icYwoeyCByWoCtAzm0hPTgBMMdw5r jRsOYG9+lugW/Au82QYFWKbXjcIiV4uWLl/Sn8UV1KQHGRou0LGPj8u1KQMPGSsj b/AeWkg0zLjnjb6Wy0yPG41AlBJgFtFIao5p/u+Zuz7wTGKxhrBlVNE4kh1dQYCh c2udCCr7GjLrY+xs4vEyLVeiI44KZc3Fa0mYKa2IOfQMgEFmKCqizyHdGuOn8bfJ 4jO0A/iNeB7JHvAdbkAJKr4R6JzdDvcSLPUjiEpRS+UiurnTaTcRi4SxjgdbuaLG of6vFpHZAYOVPL2fQ1AM7nGPXopgkHcJVZi8G/OwtpiOp/m0qZgX7sRitSRIRhF9 TNr8GkcThIBel55gjqrtravRnVq97+tdNyHMMKWxRx/XbiU4aVpHGSiXrsN74a7i up+J3GeVHPFLA8jZ5+0adkGbM9zJUzzvFs69eq8zcEyLTMKi6AfZ+wq5blsRdum3 Gk+bASlK5dBAGFENNBzUESs3QS6ejO3tsD88E4S6ruDARxR9WP/4sbRKzTtW7H8p u1W3S1OOPA/fDZ1gc3BV2KMibkX0w41l//xNQxiyyygFNGbcXmCDJRaTayM6DNyY XzSa8zmqMe/0pQva1FFrzH7cwF1/TOkZ0MbO2yQHogY/ET+6SZA= =4sfa -----END PGP SIGNATURE----- --=-=-=--