From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iHKxDXvxW18wfgAA0tVLHw (envelope-from ) for ; Fri, 11 Sep 2020 21:51:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ULoQCHvxW196WwAA1q6Kng (envelope-from ) for ; Fri, 11 Sep 2020 21:51:55 +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 59E889400EF for ; Fri, 11 Sep 2020 21:51:54 +0000 (UTC) Received: from localhost ([::1]:59078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGqxT-0006fL-MB for larch@yhetil.org; Fri, 11 Sep 2020 17:51:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGqwg-0006eB-6x for guix-patches@gnu.org; Fri, 11 Sep 2020 17:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGqwf-0002vE-UI for guix-patches@gnu.org; Fri, 11 Sep 2020 17:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGqwf-0002KU-TZ for guix-patches@gnu.org; Fri, 11 Sep 2020 17:51:01 -0400 Subject: bug#43347: [PATCH] services: dovecot: Do not require dovecot to be globally installed. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 11 Sep 2020 21:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 43347 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: Pierre Langlois , 43347-done@debbugs.gnu.org Mail-Followup-To: 43347@debbugs.gnu.org, pierre.langlois@gmx.com, pierre.langlois@gmx.com Received: via spool by 43347-done@debbugs.gnu.org id=D43347.15998610498932 (code D ref 43347); Fri, 11 Sep 2020 21:51:01 +0000 Received: (at 43347-done) by debbugs.gnu.org; 11 Sep 2020 21:50:49 +0000 Received: from localhost ([127.0.0.1]:45761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGqwT-0002K0-Bs for submit@debbugs.gnu.org; Fri, 11 Sep 2020 17:50:49 -0400 Received: from mout.gmx.net ([212.227.17.20]:51777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGqwQ-0002Jl-2d for 43347-done@debbugs.gnu.org; Fri, 11 Sep 2020 17:50:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599861029; bh=Y22ObQQ09WPivcOEroKGNSO9vmY8Uyn/DEPvP96kYgY=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=LHfX7iUBr+8jdMlnoaj9ImgiNVVepzJ/t3BaFyLI6hNy7qT/n/VBqdGy7UZF7k7sZ ItrikjydjwsZH+R8P8kiBQmoQZn/RLFkCtcosyNn3uspm4P/Tdp07Kee1xqyxjc1+U vicWGlPOKq55/tzaZZjSuw0epTY58gb9DPeaZ1aw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from e119807-lin ([37.120.132.83]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mt79F-1kVmME44WP-00tWww; Fri, 11 Sep 2020 23:50:28 +0200 References: <87k0x09k6h.fsf@gmx.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Pierre Langlois In-reply-to: Date: Fri, 11 Sep 2020 22:50:16 +0100 Message-ID: <878sdg6l0n.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:p0q++nEB08dGPIK0UWDQAolfb43+xX79iThH0PM/ZVOy3fYdCdX jB30S+ezBbNAV3J40Nl3sxmzQQ7M9b4eszt9SSAkUjs86EXD/ZsMjysHqm+BrBV5yDRRMEd rX3EP38hD0tiLo7XAfp3fBhHCJwyIavdlORsOUR2Bv9L7NHWZKc1s2BvK4Nlj8MagLOyZQV 9uLni5Tr202K3U6rWRYIg== X-UI-Out-Filterresults: notjunk:1;V03:K0:PqpivQMKwTY=:4YCpwLfzgDRrguWwFzqYkw 2hvSenENyseKA77foRdBJFJ1JOKQA33Vm9bkdckpG9Y34r+dqkuwQ3kBqfyh1gMz80jL6kC3b 0OzA59ubus3tKbtKwjAwaYa+WzflIql41D94e6+hJPVS6717eVzbjIMIMbpdi81c0LeYmiE4S B32mNdU/4bxlvvorXvrP+QnqGM3yU/7qfTu7XmkxNKNRyaxQoHv+nRsJJ1LZOhIhbjGilAtaU Wzxuaw219x/Dt4rxCRo85QMuIAs6QzUcvUvWVgeoqKbIEZSpGxduP9kGHfZQPxz0dGXUNi40m 97TbS4hN2wHTQpdCRv2e+bvNYp+EkvCOdqlUvat2OUgoV/IIxzrI+wrV3YVD97moLsfoPkiSD 0Lx1gsF+W07LvI4VQu0m3vcGjAz7V3zZuwA3lLaSAh8bcJwJyU5OTVa5eABAjvhIs2KXcJcCE +5xr/yKgZCSDAGeQPfyCXar2MtPiCjWwPj8gsLF6zYoYb/WReFvpV4cYI/DcMH/ei4S9EM4wj 4/6GRNQskmTU3RxfT5bWZcSFmv5EVEkPmGtpfFrHyuCM0tzUdJbv3mquwIAc6Jr2jtH0zuWHy y/gitV+i+ZSj4PmPzohTO2MLdIfwRBH9wmNh9EeGRH8Jg8tVdx3hlYXOoat9doKWBQFswkzUQ VIeH+ZGBkvXKyyzKXNJomXqq2ZOWmjGwX0uYBkiEwYonK+u9KJ2a9rojnJJlNgVSOs7Px04Y9 s18VuXZDRBRkaAJGeVYEou/3eMiS2lXrwCb90/99YD6E00XnwVtqp7oEx+Rsm9sFPhDu6Z740 9TCLehr6BM458tJ4UV9Upo3y1q9fcUy0j2vIlqvDRaOm0s6tjzFRXIaBzLMqOIxOKOdTTg7LD QKW7rGL3tVf+ZV1VN0ysDP1wxAZ7iLzPI0gVy9Zr5uzpJVfP9WwnqYmZZDszEUl4HuJE7nTud RwFwBGIkfAWwzWjImG7lf1Z1OW+soWeoRzUpVp22Rau52/8FYdzDRFpjM5BKrd/Gbvg0fNOvp 9jXl0LBMboCQqEJoOoKflZCytWEtiEEngtuRfZjav+bnCoCGtMyLXHoXq+NjQxsZ/GrHxuHr0 wyHSe9zs53Zk+KEsdjPPc0AG2H24+rucJyEO9NJ9f2Rxbx94EXEtMqDy7Y7kJI79tgHp5nKjm EGal/s8qvoJFn6uoRstcfZwspvPZumID0tGZcqR36PiyQjsV4OQeeECKm0x2DTiUJ9AltfEcj Y/g28PF/X5fnRRyTOc+jZ3uzZGoOlTC8ILx1ztA== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmx.net header.s=badeba3b8450 header.b=LHfX7iUB; 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: -2.11 X-TUID: euSgVDcFihN8 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice writes: > Pierre, > > Thank you very much for the bug report. > > On 2020-09-11 21:40, Pierre Langlois wrote: >> I noticed recently my little dovecot mailserver failed to boot, I >> tracked it down to our service installing a symlink as: >> /etc/dovecot/modules -> /run/current-system/profile/lib/dovecot >> However, I didn't have the dovecot package globally installed, the >> service does not install it AFAICT. > > Sorry, this is my fault. I've been slowly merging some Dovecot > improvements[0] into master. > > While I'm happily replying from the latest Dovecot service, I run it > in an... idiosyncratic manner that had me write some glue code to test=20 > these patches. I didn't realize that said glue was doing more work > than I, er, realized. Too much. No worries! I see you've reverted the commits so I'll close this. >> We could extend the service to install dovecot into the global profile, >> however instead we can just symlink /etc/dovecot/modules to the dovecot >> package in the store directly. > > Nack. That just reverts to last week's monolithic Dovecot service > that doesn't support modules, but now with pointless indirection via > /etc. Nor should the service add anything to the system profile, or > expect the user to do so. > > The fix is to add a =E2=80=98modules=E2=80=99 field to the service config= uration that, > exactly like CUPS's =E2=80=98extensions=E2=80=99 field, adds module packa= ges like=20 > dovecot-pigeonhole to the union directory that /etc/dovecot/modules > points to. Ah I see, I wasn't aware of the dovecot modules, the indirection being pointless with my changes should have been a hint there was something wrong :-). Thanks, Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCAA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAl9b8RgYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31U9uMH/Rw/Le0wi+GdM6OJ804kbdrI bGr4PV27D+kJeLVXNmBagn7mQAq4enQbJCNBSpt1HdU8vuMPOKQ++PU5b6QFLo+q T/w241w2peI/RwFAe1dpt7trYU3xo8/vFF0NpwaeQHjT+SAp4kr5apbtUNYXssv3 hXhi+1z/ysV93NASSBBOjIYQ2rucQmkqc46a+QImsGkyKCc6Lw04+GHVLElHUSAc f7wHZGblUYWvJHgBNrprCqrwXyj++2lJAWg0+2SB6JRCYUi7wsoh10qdfOc+fKaN cqku9YiwzfiIu0kgybgJETCeP1RjGvoP+LveefsYFKT8YpWWzNAiypMLsHBUUSo= =HvGP -----END PGP SIGNATURE----- --=-=-=--