From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 11 09:31:32 2023 Received: (at 60699) by debbugs.gnu.org; 11 Jan 2023 14:31:32 +0000 Received: from localhost ([127.0.0.1]:41995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFc8a-0002aA-FG for submit@debbugs.gnu.org; Wed, 11 Jan 2023 09:31:32 -0500 Received: from mail1.fsfe.org ([217.69.89.151]:53252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFc8V-0002Zz-SV for 60699@debbugs.gnu.org; Wed, 11 Jan 2023 09:31:30 -0500 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1673447485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BYhfgzg0nUfJ4/uB6tnjrzua3Mi9FS4rksaWzfkiQDU=; b=QJmKlumxpK09PH/sLGFAekDZZs7mjsmdY8hHMUDArtgLtLYG4422nDCMWSKFlMZOfsT7QK j1iyERFP8WoMAkSFKQqro14GTJV4N5DLqxED2tF4/xeYug3WJ35STHdMzidAw4iW5Lk4VW TDTNaJ1ekqOZp+v90HCwv3EDYgxqo2U= To: phodina Subject: Re: [bug#60699] [PATCH 1/2] gnu: Add fwupd service. In-Reply-To: <2QY4qmI1HEY8z5nFzdmKy4dh65q6GHmMaOl1KXu0u3tL3EnVVuwL3IkCHjAjI6P9axsRfEsEU33HcRARJLDj4u_-uw6-GwokEtNMkok9HF4=@protonmail.com> References: <4jVXzFcbk7yONwfqid6qqilCgTRGy444TSoquZ-JyjNWsQ7wBLNZmrr221In95YehmkIVQGRFWaJSPIOHUx8jpr1V3JeXDuOQZ3WeRI-B6o=@protonmail.com> <87a62qbsg2.fsf@fsfe.org> <2QY4qmI1HEY8z5nFzdmKy4dh65q6GHmMaOl1KXu0u3tL3EnVVuwL3IkCHjAjI6P9axsRfEsEU33HcRARJLDj4u_-uw6-GwokEtNMkok9HF4=@protonmail.com> Date: Wed, 11 Jan 2023 15:31:24 +0100 Message-ID: <87fschkurn.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60699 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 60699@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) phodina writes: > Hi Jelle, > > I've tested the fwupd on my Asus Zenbook machine - see the attached screenshot. > > Without the service running the gnome-firmware or fwupdtool didn't work. > > With the service running I get some information about the firmware, EFI... It hasn't been battle tested by updating anything as the firmware there is the latest. > > I've also tried adding polkit extension but it seems to run without it in my case. Could you please test the patch if it works also for you, if not we can add it :-) > From my system logs: --8<---------------cut here---------------start------------->8--- Jan 11 15:17:09 localhost shepherd[1]: [fwupd] 14:17:09:0330 FuMain another service has claimed the dbus name org.freedesktop.fwupd Jan 11 15:17:09 localhost shepherd[1]: Respawning fwupd. --8<---------------cut here---------------end--------------->8--- (and this repeated till shepherd disables the fwupd service). Note that 'another service has claimed the dbus name' seems to be a misleading error message: Running `sudo herd enable fwupd', `sudo herd start fwupd', while paying attention to the output of `sudo dbus-monitor --system' (/w `guix shell dbus') in another terminal: --8<---------------cut here---------------start------------->8--- method call time=1673446874.805907 sender=:1.162 -> destination=org.freedesktop.DBus serial=645 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName string "org.freedesktop.fwupd" uint32 3 error time=1673446874.805914 sender=org.freedesktop.DBus -> destination=:1.162 error_name=org.freedesktop.DBus.Error.AccessDenied reply_serial=645 string "Connection ":1.162" is not allowed to own the service "org.freedesktop.fwupd" due to security policies in the configuration file" --8<---------------cut here---------------end--------------->8--- WDYT about adding a system test that verifies that fwupd can be started? Then we will know whether it's an anomaly on either of our respective machines :-). Additionally, would you be able to write documentation for the new service as well? > Check the rewritten synposis for gnome-firmware. LGTM. Thanks! - Jelle