From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sA4wB2VqxmSq1wAASxT56A (envelope-from ) for ; Sun, 30 Jul 2023 15:49:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CBgzB2VqxmSXZgAA9RJhRA (envelope-from ) for ; Sun, 30 Jul 2023 15:49:25 +0200 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 A62EA60ACC for ; Sun, 30 Jul 2023 15:49:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=KA7sBojY; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690724965; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=4XY9lv5xjvtC6TPtsXYbhvYouAYkYFT29vTY3fQEJgo=; b=S4kyEC7Tnw1tqLa6hpr81xFfVS2wyfssVFoC6Qbty1PJ82GMdj6aLLxJiY6lrq8Ol0FKD/ 0ws8iwoH68tWw5ybCBCtqSgXtiYqjn/zDzMg3nNJeTKY1KlhxgOfSZpsVODScR+sKuc/pb fPw/rZeL0s+ry5sP7Pm0p6mImWn4WZovR3agcHwnMPgI8jqq9c1wFdgOeNxpmrT+Ordxdb gtToGAo/aVgvbvEpDo+tylt8VORxKA1DCfr5GS49g8frC8qVPuSyXXeEiZBF5MXSCtzpiq EGRlGjg7NTQu4U7npDQypEGtMqseETEYA2L6gNH9YyZ6dSWc7TJ3BuqiMIba/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=KA7sBojY; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690724965; a=rsa-sha256; cv=none; b=cS+q9KannLzRJecVft4W6QmD8AwCTIQeh5IuzNlPYM2qL1NpKllSiOuW54qMjZ1UTTeAgK V9E81I2mpdLzD3I6+BvIv+eSiUN5NxEWwIj6EU99R19KY/zFkUcIArKfjcfO5BG/V/dtt4 K/Cpjfubkpzs0+KXtXEha6xwIT4uISr62RqTlfXQ1q2ykLr+9IkkyMLk+e0LHNTyKbPlZr K28QUbdyFm88Y2X57vpxDFooHv+STAdDRyJnrSlb5mepkfn/+4Cz6PhFs6K0M4hIkQr/nd 09e6/cbqSMliNRzLD4u+fl2qROdTL1m1gi9xZnjr1kdiJJ5NgWQlt6IzFYUPyw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQ6Wt-00067s-Hf; Sun, 30 Jul 2023 09:32:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQ6Wp-00067j-UG for bug-guix@gnu.org; Sun, 30 Jul 2023 09:32:12 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQ6Wg-000421-G4 for bug-guix@gnu.org; Sun, 30 Jul 2023 09:32:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qQ6Wg-0000qq-BY for bug-guix@gnu.org; Sun, 30 Jul 2023 09:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41806: rsync service broken (uid, "files" module) Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 30 Jul 2023 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41806 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 41806@debbugs.gnu.org Received: via spool by 41806-submit@debbugs.gnu.org id=B41806.16907238973240 (code B ref 41806); Sun, 30 Jul 2023 13:32:02 +0000 Received: (at 41806) by debbugs.gnu.org; 30 Jul 2023 13:31:37 +0000 Received: from localhost ([127.0.0.1]:49552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQ6WG-0000qC-UY for submit@debbugs.gnu.org; Sun, 30 Jul 2023 09:31:37 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:61452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQ6WF-0000q0-Q6 for 41806@debbugs.gnu.org; Sun, 30 Jul 2023 09:31:36 -0400 Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-403cb525738so27419551cf.2 for <41806@debbugs.gnu.org>; Sun, 30 Jul 2023 06:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690723890; x=1691328690; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=4XY9lv5xjvtC6TPtsXYbhvYouAYkYFT29vTY3fQEJgo=; b=KA7sBojYQvy9Y//SKda705jVP81p4XqrcMNPnnTghpvMuLFlJZ7oVL0+wcC4n7vMBI mCqPS3nHmCRYB9gEzwnI7SpvBpQLuV5AR/0UH/wZm8j11YJ0WBaDO5zBQR1IYheiAdWg kaa5kSgxlz6VxUNdag+eOL5tVY3cCf7X5pW6mVPoQpBwXb2AnNHZ5LZT8OCXX2tccnfV DuOIbmHF4P7C9sVOvfRyy+JHjDicqozVS7D76MtPqs6+4h5nXDhHRzFaiFVqMEiFEyoY p9CYgdYTvJUZKfZwquCA7hcURnVt04MP5JFZ57CwKT70oCvdzSuiwM996euW4EqO3be6 yagQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690723890; x=1691328690; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4XY9lv5xjvtC6TPtsXYbhvYouAYkYFT29vTY3fQEJgo=; b=aRuJgvkUugAHClPP4iKzNJqRvWdLFrA9B9aZ7+aT0F754B590hIxkfP5Jg1hCJosVx 1avZ4fRCzON7p9VDtVng+uAXgEkmo7YUZGi+d07IErVQhP1FGTAtiQcI6xZF8ca5y0zU juPBm+Moi8+DEkEOBwXncDY8q8vL3nqO7EhIXm7n9IDUbI3SJeNWIaLvwSccAXADpX4T AbxlE8Dmk8d5lx8i9ZupprwQuNros0F/pHrMtH4Z2nwO1yhWn2eCtlaw1HmDz88mUFDc 7FWz5NZgG1ypz0722RDY8zjOSVSZ24AtXSWygiyBhkk7Dsl2i1CU6D18BW8wRcnZADdI b0Gw== X-Gm-Message-State: ABy/qLYxpzayMtRagfINIR452Sf47oD7VkvVEvM4qzDH6a4nAOP4kQcd hnl3yqQ2c24grrVB/B+BpzdKzYp7ULw= X-Google-Smtp-Source: APBJJlEdm6wMglOBwrWSOU6At6dpK40GcSAjwUxMdOdoSkcjwxYV+m41k1pMwx4/Ht4mmxXLgem5UQ== X-Received: by 2002:a05:622a:3c7:b0:403:ecfe:2d88 with SMTP id k7-20020a05622a03c700b00403ecfe2d88mr11014461qtx.61.1690723890072; Sun, 30 Jul 2023 06:31:30 -0700 (PDT) Received: from hurd (dsl-205-236-230-150.b2b2c.ca. [205.236.230.150]) by smtp.gmail.com with ESMTPSA id e21-20020ac85995000000b003fde3d63d22sm2636148qte.69.2023.07.30.06.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jul 2023 06:31:29 -0700 (PDT) From: Maxim Cournoyer References: <87r1ul3b0u.fsf@ambrevar.xyz> Date: Sun, 30 Jul 2023 09:31:28 -0400 In-Reply-To: <87r1ul3b0u.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Thu, 11 Jun 2020 16:57:53 +0200") Message-ID: <87cz09sez3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 4.36 X-Migadu-Queue-Id: A62EA60ACC X-Migadu-Spam-Score: 4.36 X-Migadu-Scanner: mx0.migadu.com X-TUID: zpGS41/dgq2g Hello, Pierre Neidhardt writes: > A few things are not working with the Guix rsync service: > > 1. A "files" module is created by default: > > # Generated by 'rsync-service'. > > pid file = /var/run/rsyncd/rsyncd.pid > lock file = /var/run/rsyncd/rsyncd.lock > log file = /var/log/rsyncd.log > port = 873 > use chroot = true > uid = rsyncd > gid = rsyncd > > [files] > path = /srv/rsyncd > comment = Rsync share > read only = false > timeout = 300 > > > But rsync-configuration does not allow the user to specify another > module name, nor to add a module. This is limiting. I think this was fixed by Ludovic in c9d92409d4d3f587f73c6f48f845a913f7278ad1 ("services: rsync: Allow configuring several rsync "modules".") > Furthermore, the default module name is not documented, so one has to > guess that the client must invoke > > rsync ... $HOST/files ... # The "files" here matters! > > > 2. The `uid' option does not work. With the following configuration > > (service rsync-service-type > (rsync-configuration > (uid "ambrevar") > (gid "users") > (share-path "/whatever") > (read-only? #t))) > > > I get this on guix reconfigure: > > building /gnu/store/lvkplmcxr785x56022hm8d88x0fbpd0m-switch-to-system.scm.drv... > making '/gnu/store/v01y64gg1wbvg5jk3xgsci04rgvfy6sv-system' the current system... > setting up setuid programs in '/run/setuid-programs'... > populating /etc from /gnu/store/5pwh48vkd4yhjc29iq6mxnh7jgd4nnmh-etc... > Backtrace: > 1 (primitive-load "/home/ambrevar/.config/guix/current/bin/guix") > In guix/ui.scm: > 1945:12 0 (run-guix-command _ . _) > > guix/ui.scm:1945:12: In procedure run-guix-command: > In procedure getpw: entry not found Not sure what happened here; did a 'ambrevar' user already exist at the time of reconfiguring? Are you able to reproduce that still? -- Thanks, Maxim