From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QNlRF6s/aWZ9BQAAe85BDQ:P1 (envelope-from ) for ; Wed, 12 Jun 2024 06:26:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QNlRF6s/aWZ9BQAAe85BDQ (envelope-from ) for ; Wed, 12 Jun 2024 08:26:51 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=20230804 header.b=EnbMLjOj; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718173611; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mFdBXI3ne5LWZmK9eswGXumGD/fAbsFqF2fzXMRTxi0=; b=DTaCpk6UOaYz8aj6YIvcjiWJ0oiY8WXOcRp2UAjouRqHfnkzSSyNBBSOBIYOPFA19XfUAn ONHIuV8+kamNcBpcjjtQire9577VTGfkCLQNcWwYmhUchO0q0VCGC12r/wXqw6r+HaD/tu lxds312N1vM3MQmns40RnBlZykfXw94wVAUbfMzBPi1CIiFRn5gODTcpc/zzkaaLAngZBM ZDAFPsJ4yYQU9YsRBAPeIwL3Ui2Y1RYla+8B4Ymnz6bOJHgHf+9os3zksJb97jTiWlsVo2 IEsF9L+s/GrJrJDgKdcwFZDeuakbussIFXjfEzquM8yZiaDdf6Q6j/SfYXsVsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=20230804 header.b=EnbMLjOj; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718173611; a=rsa-sha256; cv=none; b=XUtonEb3G4nTo0T2FkPD2QwaCG+OjEHsX3/WF1szUqH1yrabWXetz6qomwgonIaC+Si8v+ Cguey8cW2lIQXxlbepcALmHWqdjcQlBNG1nXFFNgKGjSnzQuV6XTvn0WtEjMK9Z568mIxT NZtRMSQdXfzkHd1npUH268xvd4F9JTO72LaMFj67NHlyk8JKrMDsOFs9uuqqJnTE+OJD8n 2wFhSVDZrfLgEdrcw69V+fzySPhzZsP/mIyrovhqs7Jp8Cllx+rWcrfVQxTdhMagJ18x9U TWg1WTgrwM+fejjxqoxcAK9V24sN8CosRB92nlLbFzYDoOmIxPRvkUwtwaxfpA== 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 EDEB7693FF for ; Wed, 12 Jun 2024 08:26:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHHR1-00058U-Cz; Wed, 12 Jun 2024 02:26: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 1sHHQt-00057o-PI for help-guix@gnu.org; Wed, 12 Jun 2024 02:26:09 -0400 Received: from smtp-bc09.mail.infomaniak.ch ([2001:1600:7:10::bc09]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHHQp-0003rK-8A for help-guix@gnu.org; Wed, 12 Jun 2024 02:26:07 -0400 Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VzbC514B2zd43; Wed, 12 Jun 2024 08:25:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org; s=20230804; t=1718173553; bh=mFdBXI3ne5LWZmK9eswGXumGD/fAbsFqF2fzXMRTxi0=; h=References:Subject:From:Cc:To:In-Reply-To:Date:From; b=EnbMLjOjrk3+ZNakeC++eFT1mVcf2+UA/Y+keJOzpg8KhBRVO6kFY2yBa8luXo0+R Qi+rZoo0j4yOMCW2J9UMpqYc6UfpsPQ0LW7KfEGWBN/7ug44hQ21b2cPP7ZQUvCUjo 6PpeIMj4NCgZOcI1szlYcQF2c63P/LjwJMXvlgmowu3RMe+tP9l+v8yWTiITqKNKPB /cGeA+Tm4lKntyUDtja3l4dehiSWPFpJaAbeY/VNrguj94ngspl6rdcJWETLyKkRug 5ljoToPZMAw/TkG8Eb9EMb+69qKeQ/z3O/zHI6gftnoWXGbKuazsyStd5Mjj44+B1f nGyr4xj8r+VvQ== Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4VzbC455kBzhc5; Wed, 12 Jun 2024 08:25:52 +0200 (CEST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <171628431789.31325.5364517004125890200@bioneland.org> <87o78gwlyd.fsf@gmail.com> <171765654386.2311.1398957730839270726@bioneland.org> <87zfrrlbzw.fsf@gnu.org> Subject: Re: Guix home reconfigure fails with "In procedure symlink: permission denied" From: Tanguy LE CARROUR Cc: Simon Tournier , help-guix@gnu.org To: Ludovic =?utf-8?q?Court=C3=A8s?= In-Reply-To: <87zfrrlbzw.fsf@gnu.org> Date: Wed, 12 Jun 2024 08:25:51 +0200 Message-ID: <171817355159.1113.16437394873653364873@bioneland.org> User-Agent: alot/0.10 X-Infomaniak-Routing: alpha Received-SPF: pass client-ip=2001:1600:7:10::bc09; envelope-from=tanguy@bioneland.org; helo=smtp-bc09.mail.infomaniak.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.19 X-Migadu-Queue-Id: EDEB7693FF X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.19 X-TUID: RwoogLXyvjAn Hi Ludo=E2=80=99, Quoting Ludovic Court=C3=A8s (2024-06-11 17:45:07) > Tanguy LE CARROUR skribis: >=20 > > Quoting Simon Tournier (2024-06-04 21:24:10) > >> On Tue, 21 May 2024 at 11:38, Tanguy LE CARROUR = wrote: > >>=20 > >> > 2 (primitive-load "/gnu/store/fvly06ac6y0c01r8zavc2m1zfk6= ?") > >> [...] > >> > 0 (symlink "/gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-?= " ?) > >> [...] > >> > # But files with longer names exist! Could the problem be the `?` ca= racter? > >> > $ ls /gnu/store/fvly06ac6y0c01r8zavc2m1zfk6?* > >> > /gnu/store/fvly06ac6y0c01r8zavc2m1zfk6pvhn9-files-builder > >> > > >> > $ ls /gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-?* > >> > /gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-config > >> > ``` > >>=20 > >> Yeah, the character =E2=80=99?=E2=80=99 is only to point that the stri= ng is cut. > >>=20 > >> The two files are: > >>=20 > >> /gnu/store/fvly06ac6y0c01r8zavc2m1zfk6pvhn9-files-builder > >> /gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-config > >>=20 > >>=20 > >> Now, why there is an issue with the symlink of these files is another > >> story. :-) > > > > Whyyyyy! =F0=9F=98=AD > > I tried reverting to an older version of my `home.scm`, without luck. = =F0=9F=98=9E >=20 > It would be great if you could reduce your Home config to something > small that reproduces the bug. =E2=80=98guix home build home.scm=E2=80= =99 is enough to > reproduce this bug and it doesn=E2=80=99t have any side effect. >=20 > Most likely it has to do with what gets passed to > =E2=80=98home-files-service-type=E2=80=99. Thanks to Nils and Simon, I was able to solve the problem. A file in `home-files-service-type` was in conflict with one of my `home-se= rvice`. But it was not obvious from the error message. I cannot really reproduce with a simple `home.scm`, for the following works= as expected: ``` $ cat home.scm (use-modules (gnu home) (gnu home services) (guix gexp)) (home-environment (services (list (service home-xdg-configuration-files-service-type `(("fontconfig/fonts.conf" ,(local-file "fontconfig" #:recursive? #= t))))))) $ guix home build home.scm guix home: error: duplicate '.config/fontconfig/fonts.conf' entry for files/ ``` ?! =F0=9F=A4=94 Thanks anyway! --=20 Tanguy