X-Loop: help-debbugs@HIDDEN
Subject: bug#78254: Replacement variables in guix-daemon.service
Resent-From: Ido Yariv <yarivido@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 05 May 2025 07:19:03 +0000
Resent-Message-ID: <handler.78254.B.174642949824196 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 78254
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 78254 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174642949824196
(code B ref -1); Mon, 05 May 2025 07:19:03 +0000
Received: (at submit) by debbugs.gnu.org; 5 May 2025 07:18:18 +0000
Received: from localhost ([127.0.0.1]:38077 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uBq5g-0006I3-TS
for submit <at> debbugs.gnu.org; Mon, 05 May 2025 03:18:17 -0400
Received: from lists.gnu.org ([2001:470:142::17]:59064)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <yarivido@HIDDEN>)
id 1uBkLL-0005Oh-HA
for submit <at> debbugs.gnu.org; Sun, 04 May 2025 21:10:04 -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 <yarivido@HIDDEN>)
id 1uBkLB-0002z0-4X
for bug-guix@HIDDEN; Sun, 04 May 2025 21:09:54 -0400
Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <yarivido@HIDDEN>)
id 1uBkL8-0006Ed-EP
for bug-guix@HIDDEN; Sun, 04 May 2025 21:09:52 -0400
Received: by mail-ej1-x62a.google.com with SMTP id
a640c23a62f3a-acb5ec407b1so668416066b.1
for <bug-guix@HIDDEN>; Sun, 04 May 2025 18:09:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1746407388; x=1747012188; darn=gnu.org;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=FGw35D37lzfwTin3ntrP6EdKfPXmb5JOEse+1gjQh6g=;
b=c2r3K0/LONT6of0fwwU7Qfz99NTWoh/iebHf/d/Lt3cUPTGvTfIAG1I3Y8kKEDvea7
5tzdvfijKDytrZcVEzrKyybHSwRvxJeCMMVyp70fXK5YxQl3ni20oZtKIwahPn4oeL8p
9Q62y2oqg9zbdOnP4Kjys0pV/Ckg0DA11lHrIfphJFDe4qj573TYJNIJsIfwxPPO2myl
TKWux5kKzk7Y40ufS1k4diUIIVdCY6OzHG0Hb+020dGbKStPPah3g41ariOzsKt4MUT0
Tbk+JnszY1JIg8o52s1kk8TRKAoS303u9LVcNIeYZZqSvxKaWUDdxIKUmwpe7EqGETYL
9cFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1746407388; x=1747012188;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=FGw35D37lzfwTin3ntrP6EdKfPXmb5JOEse+1gjQh6g=;
b=s0WuYufuLQTRr8CcERp2PKtQeiSxVxmQvhz759eqlfXXDJa76gzu0w9VnoMcEUwKdP
m/4WndTBac9tdXb2d3baWNZ+mcTRZ/PugS2N4DYJF+091ZnC6ODdzkCVM/1nWeLlETFZ
JH4UXu58vzYYVmSDXoky1Tid+4k/nZjAXU6kCDQ9todKxPCQ4sDOIo3ols3DAxVPknTV
2KG6HgUlfgMQkmtYy3pBLqXAxP8xTQtwp4vd73RrwRgahXCM5rEbba7jOpox6ylXr2Ga
2Q8VOiEaeanh0ekDXDKULJQbFf1+U7RgITUO86VqlHAL8SCzsFcRN7fdgV9aW/PTHSlg
TcvQ==
X-Gm-Message-State: AOJu0YwhFU/lHIK89oNGAUxcWnDKnT97QwxJsqNhcJMkq8zf2MR0c+rs
6qQh2yF6CygKxOYdJWYtzsckCEkzXhkjq3zIWTWpw/uF8SSzsEeypnGF2dJrKCc2iJUiNqoa07b
tJExWKry0OQXKAIePFCfXJ1puSX8lA+pXDN4=
X-Gm-Gg: ASbGnctS0TA+piF56VuPRYXI9Hon34SSVhAfdEe5x2C5a2MB7K6Cd9+scOTccRW2Hh6
GZhvUdW5b/LxkxskehmrONVMfkfiGbEH6MmuJIIz5FmOVlNLEyspxZfqcmad2Hmy2TFasGOjoVh
sGZpKxjMEQYxsrWrTyKJVBs3+Nqi6u7B0PKs77n/6VypZkWOZ7DLJJS2LV
X-Google-Smtp-Source: AGHT+IEGOoobUeB7cP5FdZxgdLdiN8XrSk+ZmqT7n19KpG6HUPywOcEKvN8K3c4B3ce3Yt1xHDFDgpnAOp4mVrCrqUw=
X-Received: by 2002:a17:907:72c7:b0:ad1:8de4:358 with SMTP id
a640c23a62f3a-ad1a4b7058cmr468960266b.61.1746407387580; Sun, 04 May 2025
18:09:47 -0700 (PDT)
MIME-Version: 1.0
From: Ido Yariv <yarivido@HIDDEN>
Date: Sun, 4 May 2025 21:09:35 -0400
X-Gm-Features: ATxdqUFkfkl4KC5COOfL7RsIMwAR9gCNX2B5F0rgh48xE1kjb0f7zN0F1Nb_Oto
Message-ID: <CAMPn9MnogcKLjFVCE5G5fak35zhViAys2mOM=KyBAuu9HAxPdA@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000f84bba063459279a"
Received-SPF: pass client-ip=2a00:1450:4864:20::62a;
envelope-from=yarivido@HIDDEN; helo=mail-ej1-x62a.google.com
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, FREEMAIL_FROM=0.001,
HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Mailman-Approved-At: Mon, 05 May 2025 03:18:14 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
--000000000000f84bba063459279a
Content-Type: text/plain; charset="UTF-8"
Hi,
It appears guix-daemon.service leaks some replacement variables defined in
guix-daemon.service.in, e.g.:
--8<---------------cut here---------------start------------->8---
Environment='GUIX_STATE_DIRECTORY=/var/guix'
'GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale'
LC_ALL=en_US.utf8
# Run under a dedicated unprivileged user account.
User=guix-daemon
# Bind-mount the store read-write in a private namespace, to counter the
# effect of 'gnu-store.mount'.
PrivateMounts=true
BindPaths=@storedir@
--8<---------------cut here---------------end--------------->8---
From what I can tell, it looks like the replacement is done by nix/local.mk
(as opposed to self.scm), and the sed script there doesn't include all
variables, nor is it replacing matched patterns globally.
Thanks,
Ido.
--000000000000f84bba063459279a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><span style=3D"font-family:monospace">Hi,<br><br>It appear=
s guix-daemon.service leaks some replacement variables defined in <a href=
=3D"http://guix-daemon.service.in">guix-daemon.service.in</a>, e.g.:<br>--8=
<---------------cut here---------------start------------->8---<br>Env=
ironment=3D'GUIX_STATE_DIRECTORY=3D/var/guix' 'GUIX_LOCPATH=3D@=
localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale' LC_=
ALL=3Den_US.utf8<br><br># Run under a dedicated unprivileged user account.<=
br>User=3Dguix-daemon<br><br># Bind-mount the store read-write in a private=
namespace, to counter the<br># effect of 'gnu-store.mount'.<br>Pri=
vateMounts=3Dtrue<br>BindPaths=3D@storedir@<br>--8<---------------cut he=
re---------------end--------------->8---<br><br>From what I can tell, it=
looks like the replacement is done by nix/<a href=3D"http://local.mk">loca=
l.mk</a> (as opposed to self.scm), and the sed script there doesn't inc=
lude all variables, nor is it replacing matched patterns globally.<br><br>T=
hanks,<br>Ido.</span></div>
--000000000000f84bba063459279a--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ido Yariv <yarivido@HIDDEN> Subject: bug#78254: Acknowledgement (Replacement variables in guix-daemon.service) Message-ID: <handler.78254.B.174642949824196.ack <at> debbugs.gnu.org> References: <CAMPn9MnogcKLjFVCE5G5fak35zhViAys2mOM=KyBAuu9HAxPdA@HIDDEN> X-Gnu-PR-Message: ack 78254 X-Gnu-PR-Package: guix Reply-To: 78254 <at> debbugs.gnu.org Date: Mon, 05 May 2025 07:19:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 78254 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 78254: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78254 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 10 May 2025 18:38:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 10 14:38:34 2025 Received: from localhost ([127.0.0.1]:50293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDp5l-0004II-Fk for submit <at> debbugs.gnu.org; Sat, 10 May 2025 14:38:34 -0400 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]:40035) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <leo@HIDDEN>) id 1uDp5i-0004Hi-3S for control <at> debbugs.gnu.org; Sat, 10 May 2025 14:38:30 -0400 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 762D211400C6; Sat, 10 May 2025 14:38:24 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Sat, 10 May 2025 14:38:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:to:to; s=mesmtp; t= 1746902304; x=1746988704; bh=c9sm9rGAyebHJnLEJ3Z/F+W4PmcsANU29Cp l6goV/Hw=; b=YaFf0ks32SV7vNYjit9kO3SfdYQ+dgMc6Lwho+OAfNgZ+ApOKP+ ft+g3ksUcZL67HII4Jqo/y2NbJVXWm23lSLtkG3Wne3f34iAMoc5JevFw6BNTt+G ViouEfhKjgXytmyk+ZnBl0Y5MXbmbEkUfJJFbrUN/zhvojJkb6BhVR0c= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1746902304; x=1746988704; bh=c 9sm9rGAyebHJnLEJ3Z/F+W4PmcsANU29Cpl6goV/Hw=; b=WPxvX/M46Tz+s9qaT HOTrFM9nADcY5w776WTvrZVyoMd7saugxes0CmMFq9JP+rTPcOZhZx9r9Kns6X3O gSa+StNSRhxmr+QgTylbmsAPtxbKCuLa+KDhBYPrTYakvYHqtBn0G5LkNNRKtd8l WDimytdywBGKs0IRqXJDQW+SW4k0H2foiSya9JnBWzn1FT3G9ziCYNdouJaSpdUL xADSbdc/thhIkuGWdCiQ2Rzy4Q3zc8Db8wcROQaqoUjg2oKm/zutS+UOueST7aOh Yk06uK3uIf8gG5DOj7xh574X/P1rvTTJFdEbxRMaR020XDuYNw/WoULH/Cff67tz Q0jbg== X-ME-Sender: <xms:IJ0faFtd9SLNJHhJV3_I9DIiKJtP4xzUyD5698nckvd4U6bia-9HQA> <xme:IJ0faOedMpbYjO81Y_kLE56EiCkeGlprK0Qidq1ViBx0DGEgmjNsxE6s5yNwnCA_Q t_l-N1VhC_7MmsVkA> X-ME-Received: <xmr:IJ0faIwdv0emUcQTpnjFguKxE2Px5d_HcFmk1KU7C0vhlfwoEAg5fFs1W03EiUJID0fZuglgTxMxJVcMnW_r4bZi> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvleeivdegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuh gsjhgvtghtucdluddtmdenucfjughrpeffhffvkfggtggusehttdertddttddvnecuhfhr ohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqe enucggtffrrghtthgvrhhnpefhjeeigfefvedvfeetheegledtkeevuddtgedtudeiteeh teegvdefffduffefffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgvpdhnsggprhgtphhtthhopedu pdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegtohhnthhrohhlseguvggssghugh hsrdhgnhhurdhorhhg X-ME-Proxy: <xmx:IJ0faMPI3iqTqrOkO-z6--ywYoN71wcm6meVGw6Tyvizv_HmsE0KBA> <xmx:IJ0faF9xQtPzaawB-9i2zbNGe99r42DYubrDffSMWhrHH5NWnAxz_g> <xmx:IJ0faMU7oAtJrj7WtEDkeqg31eyzi9RuhZTw0sdURWFfzsqdHL1V4g> <xmx:IJ0faGcCJkvL0p3PMFCJ0-GB251YRnypShcB8wlol6BjflTeP0itbw> <xmx:IJ0faONvK6ee6sJTLMV0xMwy-RNRFkQikpO_Rim6ij2nTEWU00J9hAeo> Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <control <at> debbugs.gnu.org>; Sat, 10 May 2025 14:38:24 -0400 (EDT) Date: Sat, 10 May 2025 14:38:22 -0400 From: Leo Famulari <leo@HIDDEN> To: control <at> debbugs.gnu.org Message-ID: <aB-dHoBiatNyIO6J@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 78318 78254 78275 Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [202.12.124.150 listed in sa-accredit.habeas.com] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [202.12.124.150 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [202.12.124.150 listed in bl.score.senderscore.com] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) merge 78318 78254 78275
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.