From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id Zgx5O6uspl9ZWwAA0tVLHw (envelope-from ) for ; Sat, 07 Nov 2020 14:18:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qK3NNquspl81RQAAB5/wlQ (envelope-from ) for ; Sat, 07 Nov 2020 14:18:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7C7DC940105 for ; Sat, 7 Nov 2020 14:18:19 +0000 (UTC) Received: from localhost ([::1]:49950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbP2o-0001zf-CV for larch@yhetil.org; Sat, 07 Nov 2020 09:18:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbP2Y-0001zW-Qe for guix-patches@gnu.org; Sat, 07 Nov 2020 09:18:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbP2Y-00005m-HV for guix-patches@gnu.org; Sat, 07 Nov 2020 09:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbP2Y-0006yZ-E7 for guix-patches@gnu.org; Sat, 07 Nov 2020 09:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44435] [PATCH 1/1] services: Add transmission-daemon service. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Nov 2020 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44435 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44435@debbugs.gnu.org Received: via spool by 44435-submit@debbugs.gnu.org id=B44435.160475865726774 (code B ref 44435); Sat, 07 Nov 2020 14:18:02 +0000 Received: (at 44435) by debbugs.gnu.org; 7 Nov 2020 14:17:37 +0000 Received: from localhost ([127.0.0.1]:58154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbP29-0006xm-71 for submit@debbugs.gnu.org; Sat, 07 Nov 2020 09:17:37 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:42060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbP27-0006xX-KD for 44435@debbugs.gnu.org; Sat, 07 Nov 2020 09:17:36 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id E7AF0A227B for <44435@debbugs.gnu.org>; Sat, 7 Nov 2020 14:17:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo05-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo05-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLGqLEr9c7Uy for <44435@debbugs.gnu.org>; Sat, 7 Nov 2020 14:17:29 +0000 (UTC) Received: from laptop (unknown [108.162.141.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id B0321A2279 for <44435@debbugs.gnu.org>; Sat, 7 Nov 2020 14:17:29 +0000 (UTC) From: Simon South References: <7630c2a18eded24bbfc66d45b353a9faab400d93.1604429058.git.simon@simonsouth.net> Date: Sat, 07 Nov 2020 09:12:44 -0500 In-Reply-To: <7630c2a18eded24bbfc66d45b353a9faab400d93.1604429058.git.simon@simonsouth.net> (Simon South's message of "Wed, 4 Nov 2020 07:40:06 -0500") Message-ID: <87mtzt5k83.fsf@simonsouth.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: gY0O/YbkGR0X Simon South writes: > +(define (transmission-daemon-activation config) > + "Return the Transmission Daemon activation GEXP for CONFIG." > + (let ((owner (getpwnam %transmission-daemon-user)) This call to "getpwnam" should be executed on the build side, not the host side. Also, since Ludovic's commit ca465a9c8454, configuring a system that uses this service type issues gnu/services/file-sharing.scm:736:9: warning: importing module (guix config) from the host which I assume is a problem. I'm working on an update that addresses these things. -- Simon South simon@simonsouth.net