From unknown Mon Aug 18 14:20:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#76343 <76343@debbugs.gnu.org> To: bug#76343 <76343@debbugs.gnu.org> Subject: Status: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. Reply-To: bug#76343 <76343@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:20:53 +0000 retitle 76343 shepherd 1.0.2 --help: warning: call to environ while multipl= e threads are running; further behavior unspecified. reassign 76343 guix submitter 76343 Simon Josefsson severity 76343 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 12:30:43 2025 Received: (at submit) by debbugs.gnu.org; 16 Feb 2025 17:30:43 +0000 Received: from localhost ([127.0.0.1]:36846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjiTb-0005u3-7q for submit@debbugs.gnu.org; Sun, 16 Feb 2025 12:30:43 -0500 Received: from lists.gnu.org ([2001:470:142::17]:55880) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjiTY-0005tT-P0 for submit@debbugs.gnu.org; Sun, 16 Feb 2025 12:30:41 -0500 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 1tjiTT-0002gc-D6 for bug-guix@gnu.org; Sun, 16 Feb 2025 12:30:35 -0500 Received: from uggla.sjd.se ([2001:9b1:8633::107]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tjiTR-0007Bp-CI for bug-guix@gnu.org; Sun, 16 Feb 2025 12:30:34 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2303; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=LzLIzYgWhXeHb0E1UihKXiRGaeNvNgU3/sT9o3Cux1Y=; t=1739727026; x=1740936626; b=R1wqOQra+9/ixvjCcgDacHuPCT2lsdqhckAbzTdIUUdafvg +nMQJbhFLXVuCYtGTxfHdcBqbS4a/C4vC2iLsBg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2303; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=LzLIzYgWhXeHb0E1UihKXiRGaeNvNgU3/sT9o3Cux1Y=; t=1739727026; x=1740936626; b=SAKAVz7F37W5il1MLCI7rM2WaIf5r+O0L+5PoH70hC6ciwa hV8j/6AxIeQ+kCATxkMKsGcrgRvTT3g2WZ39gMkN1j1Z3XopLfRL8dN03Y06tzk133EbI6GrpUIlG zuohr8gBmoYo6GtnrlK1FUHJc5mPCbgBTh5H4hrdVxII42vUJ0L+xdoe2qCBs9ATSEvOOWszKRWhp zfiK/y389rFSxasClhZkCJor+nUZkYQHI1hEdkn/j+hoWdWw5r4q7K7LuBU0HM9DGiMVP1A4Ds+mo 6XAmEtHAIAsJikyZRMkd5/afU4KGJOYJXxxNIYU/g640YGzHqcIomnUlJHS/m6hmbBmFLicVQFB+V c42sAvvF+sCHn4ZNusjsE45l1u9Q5M9XLrB5jhyWQOdQa0dek+uFwCBAt1nv/wzrNYQUZaebzzehh Cp9dWLSN6rFs2GtcaiHjC8GP; Received: from h-178-174-130-130.a498.priv.bahnhof.se ([178.174.130.130]:46082 helo=kaka) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tjiTI-00BJb7-CC for bug-guix@gnu.org; Sun, 16 Feb 2025 17:30:24 +0000 From: Simon Josefsson To: bug-guix@gnu.org Subject: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:23:250216:bug-guix@gnu.org::tbwyZE5/5bPXJQ6F:1sIy Date: Sun, 16 Feb 2025 18:30:31 +0100 Message-ID: <87bjv1lruw.fsf@josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain Hi It seems shepherd in Debian print the following on a simple --help: 132s warning: call to environ while multiple threads are running; 132s further behavior unspecified. I can't find the error message in guile-fibers or shepherd source code. Any ideas where it comes from and how to fix it? Version 1.0.0: https://ci.debian.net/packages/s/shepherd/testing/amd64/57880388/ Version 1.0.2: https://salsa.debian.org/debian/shepherd/-/jobs/7101207#L718 /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQNoBAEWCAMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmeyILcUHHNpbW9uQGpv c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh BLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgIBQkLehFUAAoJENc89jjFPAa+CboA +wUa06RD5e5VTCxvSWtPS75Wq2qBeYGZnf0jvUMxa2n4AP4xkUeAPPnNuMsTm2fs FCDIGaEM2Yn6Vb2huzzT1Fw/BLgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0 +MTXPPY4xTwGvgUCZf2IKwUJC3oQqgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE 8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J ENc89jjFPAa+GcYA/26YQY05bLtnXiIjTiAzrGQrRXxTHPA8Av7TDFHvIetWAP9s HSoU8OfTwmTiEnGwLlsV7QJclZg3YNz/Ypcp9TqQBrg4BFySz2oSCisGAQQBl1UB BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgwBQkLehDGAAoJENc89jjF PAa+phoA/jrDqIrl/55vUMBhIQv+TP635d2iCTEnyFmbUcP9+gh6APoDsXalVd2c OGxQtSC+TF8PkZMn1TLkJKAjVxr+xx40AgAKCRBRcisI/kdFougyAP41NN2amVTG nF3QlfQT0Fa3AeN7RtQ2rCuYDM2n4Rv5JwD+O4Mwlue5hmxyVyKNk6BQ8D45hnT1 VtJka/y0V8h3kA0= =OWCC -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 16:43:37 2025 Received: (at submit) by debbugs.gnu.org; 16 Feb 2025 21:43:37 +0000 Received: from localhost ([127.0.0.1]:38317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjmQK-0003Zc-Dv for submit@debbugs.gnu.org; Sun, 16 Feb 2025 16:43:37 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34262) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tjmQH-0003Yk-UW for submit@debbugs.gnu.org; Sun, 16 Feb 2025 16:43:34 -0500 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 <~@wolfsden.cz>) id 1tjmQ6-0008TD-8N for bug-guix@gnu.org; Sun, 16 Feb 2025 16:43:22 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tjmQ2-0003aX-KU for bug-guix@gnu.org; Sun, 16 Feb 2025 16:43:20 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id BDE4737F656; Sun, 16 Feb 2025 21:43:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1739742195; bh=bnCXAX32iKzSjSdB4c2txy6hT3j+M8BgbaOJUUkAopY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=imhEOiQsMrMmCutWld2FXdZZ3NyI9A9qX8/wrN8YrqY8ckxNDApRtz4eziJnFL4qQ qVB0fQ761sn0PrcprAN1w3w2QVN4gFaP4e67AcRIDxjASSubfEJ1gYY7IGtA5MPDHg arvF6SkvDeOWAzAiiOB9vxxVHZn3JzyCuJvAAG68n6+wAU9SfO8ElN6oX/BcaFJKdQ k3He3AnosutIcEftdjw5BxppJktj4ld2QSM46Dtz88gcULoTK+qCaVZO/fRDl9E+Al Cn69c8JwlFjrVyDOJdFPytKtSlVD4bd6ACFe+ztpC2Uu2sJIHO5eCUAoqHtI0+E7x9 FxyH0iDN/N7Y5Icd6UPQLkBG9B382Uwg5iM/e5xin+YMxOA2X0Opb0mkQoAuWPYtjV H6P0HXc3GHqKPpCPhrHOm6CLBskJa8nXbMIq5Vpp/VJjO48JZZ/ET46tep2U0nGk5r OMaH/dIdxQwXxPGZ4UD2Z6TZZR0aVT9fg3xcH5G4A53BwUsmw17G1NmzFm2Cr5CveZ Rm+4OujzRBD+eQw8XnpFhxD/HfqRcs9gOkX8d9qxUUlY66BBQx99vZGFK9cK9mOYsG Zj6XpV6M773FMSmFyzC87rK9UOS6v3mPndMgT7wGcXjmmZxSBhOgmw4DD5kxyioBeE XoUXs9C5vx/pTHpBqMf5dM38= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 6602737F85C; Sun, 16 Feb 2025 21:43:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1739742194; bh=bnCXAX32iKzSjSdB4c2txy6hT3j+M8BgbaOJUUkAopY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=HaeZkUKS3QyPWAh9W2zQRnLalLwyU5OIOg48Cq7Y0i4hJGghJ/vUsR2GZB5vTCtBo XY+sx5pRXGA41VFyhHRboTV4apoEnwfK21u8IRMz7nEKc59995Mv1nUp4sWkUm1eqT /VtTFznB8xNbaYFt1Rjakc7xgtjScCY2Vns3dlh7iGWv4V5Jk46JQHUjItiv0pWw0H nVudzK3BKN6sq1hkfBt6DjnEgX1dbhiW9m7YV/o3jr5wu6ty1LN6+23WK+j2eUbN/P S0dBBD5CGIev/9lUrVyqW0rdZKUvfkjMqYLeuvcMukWMBGtiq8xZnMzT/QnJDFFm45 bgxPzfOsAuelo9F8URKwHr1pCCwsFGOwlxmWq5gdyTnAQQByWsKbH8iq48bDk79u+z u0wEM/vVZrzSFKhWL2gCpP72MOugI+p301FjfOyZsempHDyNSJXzubLKLhvXMNKI4s bhoKAdy83/AhLZQM9Cvc/zIQ7jtskcH2DPw1B2FcB17l4dMwzyk0j86U1Vjw4iLWzg Ou2APjf1RIe2/1qOZxYOfnJ2BC54fTlVZhadSNE3VGpB1tdWDesfPuQ7rE7db7zP4t 61Bn97ihKMIUPHPJVTVqofgdE4D7ClGegZCbJz9TToTK+LGwb4Lz9/xObl3WiZoksX bLEoyNQBGWq1SOWF1mMl39jI= From: Tomas Volf <~@wolfsden.cz> To: Simon Josefsson via Bug reports for GNU Guix Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. In-Reply-To: <87bjv1lruw.fsf@josefsson.org> (Simon Josefsson via Bug reports for's message of "Sun, 16 Feb 2025 18:30:31 +0100") References: <87bjv1lruw.fsf@josefsson.org> Date: Sun, 16 Feb 2025 22:43:13 +0100 Message-ID: <87wmdp36ry.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Simon Josefsson , 76343@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Simon Josefsson via Bug reports for GNU Guix writes: > Hi > > It seems shepherd in Debian print the following on a simple --help: > > 132s warning: call to environ while multiple threads are running; > 132s further behavior unspecified. > > I can't find the error message in guile-fibers or shepherd source code. > Any ideas where it comes from Guile itself, libguile/posix.c. =2D-8<---------------cut here---------------start------------->8--- libguile/posix.c 1724- if (scm_ilength (scm_all_threads ()) !=3D 1) 1725- scm_display 1726- (scm_from_latin1_string 1727: ("warning: call to environ while multiple threads are running;\= n" 1728- " further behavior unspecified.\n"), 1729- scm_current_warning_port ()); 1730- =2D-8<---------------cut here---------------end--------------->8--- > and how to fix it? Do not call (environ) when multiple threads are running, but I assume that is not actually helpful advice. :) > > Version 1.0.0: > https://ci.debian.net/packages/s/shepherd/testing/amd64/57880388/ > > Version 1.0.2: > https://salsa.debian.org/debian/shepherd/-/jobs/7101207#L718 > > /Simon > =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmeyW/EOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wanNoxAApCPR0MbR19k0h2Du6LzU2zUVVd7ZDYzIdNlP m+OPDrAN9QzV3PO+vclreoStxswcn4fx4CrbbUghYsK5VUI8uIHPiSb+m5gb1VQZ sxsHSMOATWYkOWDwigsyJ17Z7El6AD7c3d7NQO0vuUkiw1rk43FyhgRW28Vbll+D DfX7tFa0RYxv+QKnDQyaOwHbBLEhZiNZmtXEtL/SgA6iaPj0FqARr/XkktFiTobV MIseTJbtRsJXRtJm2oBTdNyMA0YEQfULVXOXSlEzuaI4Oq41JuTWOAQ7eZXnpbgx iMoB8+wE/H3IHWgCV7c8vP6jrUbNofPgNr6EN1QuhLOa/NkyEP4bo3kAkAeEMrzz u/gPEGJONfxSPKLrOBeKCXOj8RrFHiGj6dt3cNShcXOA6+0c4c529ohE55M8QAcJ X+VvHwzCNtH7jtnQ32OODGBCqCHSedwBI+SB+kpcqBYEK42MAz3w3d2+TvZaPJ3V xliYcwwQ2hlOSJzY++3vwP6Km1NAjqR5zPZ9U7YkIHW2l4wPj9X5GUF0IbbZPeOs P177qfMuMFY2yWGJ2ilqlCEvjlYVs0PZyy+MrJp4L+4Cf4O6S+QqPHd6q7SQa7q3 Y1qvLFeKbw8TcQr4V+G0TiwzPhxcDpP0YI2mEU8ez+m6YLDZ6MzhuUfEEuIod/9v fnF2urg= =BMYh -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 18:33:34 2025 Received: (at submit) by debbugs.gnu.org; 16 Feb 2025 23:33:34 +0000 Received: from localhost ([127.0.0.1]:39021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjo8k-0006pc-EA for submit@debbugs.gnu.org; Sun, 16 Feb 2025 18:33:34 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44930) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjo8h-0006p0-Gq for submit@debbugs.gnu.org; Sun, 16 Feb 2025 18:33:32 -0500 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 1tjo8Y-0004L3-3t for bug-guix@gnu.org; Sun, 16 Feb 2025 18:33:22 -0500 Received: from uggla.sjd.se ([2001:9b1:8633::107]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tjo8V-0007T9-T1 for bug-guix@gnu.org; Sun, 16 Feb 2025 18:33:21 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2303; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Di/iaZhoaDc74XRl5UJeRAUmrEha4cCvbS3uXHuWdZ0=; t=1739748790; x=1740958390; b=l6xe3Yt9iW2zsvZ36CwxebOUMtwnzP+JFNzlNfro5O2KQ2847V97RadzpiDVsyR9fMtdvo1OE2K NLYsd2D3yDw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2303; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Di/iaZhoaDc74XRl5UJeRAUmrEha4cCvbS3uXHuWdZ0=; t=1739748790; x=1740958390; b=VceIaxG/Ier0zaw+6G1GX6CdzKJ2Ov2OIfRPtfV4lYV4xEWBwxX5FvuCQhrzyaFSPcLf2uUroz7 bKeQ8UvDA/2Aq/iUhBqcmWYP14YuQxqPKX7EsVmCEgY5BsTmYm8o71RB5Rtb6EQlceNFFNUTX5GGD 2ONrWl40HXTvWZ/WtDY7iPIfX0uhPl3eYWrgGxTWlTMh+FA0pOAjslo54dtQ67PZ7ZOzt7wvfiB7o M8wmVLGR5v8iT4RrMpCKJ3iDcWFKtQekZfykh5y12X5jhOKrUsVpEBuuAIkB4GJfQm/YieZqurdmu X4hwjQG4ER3vU8eSHWGKYGKq0wx3MrR9RHUc0trGCWHHmWonFbZ3zIP+2KoWptuCqlX+OSUa8cdTA YAQ6EpY4SwEufk6RO/YwBSnh3/a1RIaiX6EWb3iL2S0r4AJuJ7w9Rrx6jkp5M4j5lYMeZkUuN; Received: from h-178-174-130-130.a498.priv.bahnhof.se ([178.174.130.130]:41688 helo=kaka) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tjo8I-00Bkwa-Kl; Sun, 16 Feb 2025 23:33:06 +0000 From: Simon Josefsson To: Tomas Volf <~@wolfsden.cz> Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. In-Reply-To: <87wmdp36ry.fsf@wolfsden.cz> (Tomas Volf's message of "Sun, 16 Feb 2025 22:43:13 +0100") References: <87bjv1lruw.fsf@josefsson.org> <87wmdp36ry.fsf@wolfsden.cz> OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:23:250216:bug-guix@gnu.org::DhI6BHgF74W5AjVh:jJEa X-Hashcash: 1:23:250216:76343@debbugs.gnu.org::6jMfuHzDzuSCLa+R:0KABF X-Hashcash: 1:23:250216:~@wolfsden.cz::hS9wlrTu5o8dV5Am:3MI0Y Date: Mon, 17 Feb 2025 00:33:14 +0100 Message-ID: <87tt8th3d1.fsf@josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: 76343@debbugs.gnu.org, Simon Josefsson via Bug reports for GNU Guix X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain Tomas Volf <~@wolfsden.cz> writes: > Simon Josefsson via Bug reports for GNU Guix writes: > >> Hi >> >> It seems shepherd in Debian print the following on a simple --help: >> >> 132s warning: call to environ while multiple threads are running; >> 132s further behavior unspecified. >> >> I can't find the error message in guile-fibers or shepherd source code. >> Any ideas where it comes from > > Guile itself, libguile/posix.c. > > libguile/posix.c > 1724- if (scm_ilength (scm_all_threads ()) != 1) > 1725- scm_display > 1726- (scm_from_latin1_string > 1727: ("warning: call to environ while multiple threads are running;\n" > 1728- " further behavior unspecified.\n"), > 1729- scm_current_warning_port ()); > 1730- > >> and how to fix it? > > Do not call (environ) when multiple threads are running, but I assume > that is not actually helpful advice. :) Thank you for the pointer. Interesting - why isn't this triggered on Guix but only when building shepherd on a foreign distribution like Debian? Is the message really correct? I thought guile-fibers and shepherd did not use threads at all. If it is possible to make --help and --version avoid launching new threads, that would be nice to resolve this warning for at least the simple use-case of doing --help and --version. /Simon >> >> Version 1.0.0: >> https://ci.debian.net/packages/s/shepherd/testing/amd64/57880388/ >> >> Version 1.0.2: >> https://salsa.debian.org/debian/shepherd/-/jobs/7101207#L718 >> >> /Simon >> --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQNoBAEWCAMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmeydboUHHNpbW9uQGpv c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh BLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgIBQkLehFUAAoJENc89jjFPAa+CboA +wUa06RD5e5VTCxvSWtPS75Wq2qBeYGZnf0jvUMxa2n4AP4xkUeAPPnNuMsTm2fs FCDIGaEM2Yn6Vb2huzzT1Fw/BLgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0 +MTXPPY4xTwGvgUCZf2IKwUJC3oQqgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE 8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J ENc89jjFPAa+GcYA/26YQY05bLtnXiIjTiAzrGQrRXxTHPA8Av7TDFHvIetWAP9s HSoU8OfTwmTiEnGwLlsV7QJclZg3YNz/Ypcp9TqQBrg4BFySz2oSCisGAQQBl1UB BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgwBQkLehDGAAoJENc89jjF PAa+phoA/jrDqIrl/55vUMBhIQv+TP635d2iCTEnyFmbUcP9+gh6APoDsXalVd2c OGxQtSC+TF8PkZMn1TLkJKAjVxr+xx40AgAKCRBRcisI/kdFoibhAP9aScsnfmvw pkst6/CL4Q+AXdccxBjqPnedNMY5sIxrDgD8C6lgWfh8aYiYz4HtmHHIL7KTdfsQ J+B32q6pHWCLvgE= =fIG+ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 10:51:40 2025 Received: (at 76343) by debbugs.gnu.org; 26 Feb 2025 15:51:40 +0000 Received: from localhost ([127.0.0.1]:54929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tnJhD-0001Yg-MJ for submit@debbugs.gnu.org; Wed, 26 Feb 2025 10:51:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58568) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tnJh3-0001Xy-0p for 76343@debbugs.gnu.org; Wed, 26 Feb 2025 10:51:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tnJgw-00040T-SM; Wed, 26 Feb 2025 10:51:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=0xBQfvAy/XTCo1xw5oSzMmTvxGZwRvmxJ2c1ACfGe98=; b=GMbpyRi7J53gxEjZB4WC m7BpHQ1DmsS+mGaMJfH/FV4/72N8f2hgjApWYIg84mhJiY4nsiqlQZBgWYXfCqyukTvUaTfe9JSoU 0PIgMC5rcM4HUU42FvTQJQq0fm293pbdPLgAj6AO6FNwDb54I/mTnv+TfjwQiGgRCsklxA1Ry4Y85 944oOB1rtY3xaSRMcTQWVzs0oX2aDcYvsOBcf4v+EL4eeP2eWIW9l8cpx5679O3aw5g8G7RLjmufl 9L8hKQ67XLs0ltmTqN6x1aIDoeGHb/e+RH4H9O14lYNPQ1ndNVVTwQ0jmKUGhOPY1ggVYX4337WDa 6tXNjKaK/0Ihlg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Josefsson Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. In-Reply-To: <87bjv1lruw.fsf@josefsson.org> (Simon Josefsson's message of "Sun, 16 Feb 2025 18:30:31 +0100") References: <87bjv1lruw.fsf@josefsson.org> Date: Wed, 26 Feb 2025 16:50:59 +0100 Message-ID: <87frk03dss.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76343 Cc: 76343@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Simon Josefsson skribis: > It seems shepherd in Debian print the following on a simple --help: > > 132s warning: call to environ while multiple threads are running; > 132s further behavior unspecified. This is a bug introduced in Guile 3.0.10 (Guix still uses 3.0.9), for which I=E2=80=99ve now sent a patch: https://issues.guix.gnu.org/76589 Olivier Dion submitted another patch, which complements the one above: https://lists.gnu.org/archive/html/guile-devel/2025-02/msg00036.html Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 11:07:12 2025 Received: (at 76343) by debbugs.gnu.org; 26 Feb 2025 16:07:12 +0000 Received: from localhost ([127.0.0.1]:54971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tnJwF-0002Lt-To for submit@debbugs.gnu.org; Wed, 26 Feb 2025 11:07:12 -0500 Received: from uggla.sjd.se ([2001:9b1:8633::107]:55120) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tnJwC-0002Lb-Bz for 76343@debbugs.gnu.org; Wed, 26 Feb 2025 11:07:10 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2303; h=To:In-Reply-To:Cc:References:Message-Id:Date: Subject:Mime-Version:From:Content-Transfer-Encoding:Content-Type:Sender: Reply-To:Content-ID:Content-Description; bh=dD26vC4ldwrz6jFgSOXiw7zkZS13SoiMBXJd7zeB+wQ=; t=1740586025; x=1741795625; b=wbuA12yrEyPG2NlfIJM1Q08rCmaTBt9PYCcatOvK2ChNaZML0pBVOirWHMWDcv9lez6gMPw7DhN Qron4Tc9LDA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2303; h=To:In-Reply-To:Cc:References:Message-Id:Date: Subject:Mime-Version:From:Content-Transfer-Encoding:Content-Type:Sender: Reply-To:Content-ID:Content-Description; bh=dD26vC4ldwrz6jFgSOXiw7zkZS13SoiMBXJd7zeB+wQ=; t=1740586025; x=1741795625; b=GFhn1tsTAHwo/v5SWSI2siMXNmNQw5P4FJBOQcGs0UQxrzSiBPogYycKC6XjS9DZhOtqBwKL3TZ dsdiYn6aU1xZaKdFKSBw8ab8dXkdYzpyqUP2/+Nec5UxPkZwxiJVDsyjPj2v+Bd/5u5B1x5gA94vg 1u6qGKnO9CLT2kJ579bS0ioSc4RuiYnnvuf5dpAKAWsOODJTfJJFkdDLCE2SEJrgW5OeWykqtcthf bugpk1t7jvs0V5yrfTB2IDMuFpxZtaJHvsilAfJO80JdbDfTS0d7uN57f+BgaUboSYBuPjF097PPr 95coeZIur0Szoatm+Mlx/6ZwF3GngUHx4jLeRT/TTkJR1VY7JRwKPX++Ntf5bhnvkoR1a5g+b8PD9 lj7zpoWCk3hC07KT0EYu5RIgk2SQSx9BaWeiq0q04/bl7f19q9dh/CjhDuZDkOPfDYFguym4u; Received: from [82.147.58.18] (port=62558 helo=smtpclient.apple) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.95) (envelope-from ) id 1tnJw1-009J7S-84; Wed, 26 Feb 2025 16:06:57 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Simon Josefsson Mime-Version: 1.0 (1.0) Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. Date: Wed, 26 Feb 2025 17:06:58 +0100 Message-Id: <270FEE5B-1373-4060-92BC-B205BF867948@josefsson.org> References: <87frk03dss.fsf@gnu.org> In-Reply-To: <87frk03dss.fsf@gnu.org> To: =?utf-8?Q?Ludovic_Court=C3=A8s?= X-Mailer: iPhone Mail (22D72) X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76343 Cc: 76343@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Thank you! Does this make shepherd Debian packages useless, or can we sugges= t people to ignore the warning? Any simple way to patch it out from within s= hepherd? The Debian freeze is in two weeks and it would be nice to give a go= od first impression to people try it shepherd from Debian=E2=80=A6 i could t= ry to get guile patched, but it is getting late. /Simon > 26 feb. 2025 kl. 16:51 skrev Ludovic Court=C3=A8s : >=20 > =EF=BB=BFHi, >=20 > Simon Josefsson skribis: >=20 >> It seems shepherd in Debian print the following on a simple --help: >>=20 >> 132s warning: call to environ while multiple threads are running; >> 132s further behavior unspecified. >=20 > This is a bug introduced in Guile 3.0.10 (Guix still uses 3.0.9), for > which I=E2=80=99ve now sent a patch: >=20 > https://issues.guix.gnu.org/76589 >=20 > Olivier Dion submitted another patch, which complements the one above: >=20 > https://lists.gnu.org/archive/html/guile-devel/2025-02/msg00036.html >=20 > Thanks, > Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 27 11:27:23 2025 Received: (at 76343) by debbugs.gnu.org; 27 Feb 2025 16:27:23 +0000 Received: from localhost ([127.0.0.1]:36680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tngjK-0008DO-Qt for submit@debbugs.gnu.org; Thu, 27 Feb 2025 11:27:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49784) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tngjG-0008Cj-Hm for 76343@debbugs.gnu.org; Thu, 27 Feb 2025 11:27:19 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tngj9-000493-3z; Thu, 27 Feb 2025 11:27:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=IY3Vzs0rDTYdtuutS2C9Zd1cXOqrbChX6Xg1NnJXfIw=; b=QW5WkWWo7u1LaNMxuinh 6cgvzr4sXTFJT7CRkQXcs25Wi7EOSftuEHfa9t6n41hKd72d+b+PrxJwD0RwKcgAO/eQCK6vQR64P yv2PGLLHScDXOMl+BvJ1l3jDN1ou1A2aE2UQi4Mv4rG1zwL1Qwv0rNgIBrpcgSryDAYuDdTNli4Cc GrvePAywmKWqycY0o2z1RKr2Uo1ew6hs3eLDMZ3aDBqFTElGCCwF/gRdv67cMVPFNRxefcWqYYUOt zeEGEm9cxLzdIXnKjtGPf+syK3T2azeSmOYu9rGSacEikxXcLjk3qVhgYSR5Mz39abz8Y+zkBFhXo aN4Mr99MSvHF0g==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Josefsson Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. In-Reply-To: <270FEE5B-1373-4060-92BC-B205BF867948@josefsson.org> (Simon Josefsson's message of "Wed, 26 Feb 2025 17:06:58 +0100") References: <87frk03dss.fsf@gnu.org> <270FEE5B-1373-4060-92BC-B205BF867948@josefsson.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 9 =?utf-8?Q?Vent=C3=B4se?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Marsault X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 27 Feb 2025 17:26:57 +0100 Message-ID: <871pvjwdym.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76343 Cc: 76343@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Simon, Simon Josefsson skribis: > Thank you! Does this make shepherd Debian packages useless, or can we sug= gest people to ignore the warning? Any simple way to patch it out from with= in shepherd? The Debian freeze is in two weeks and it would be nice to give= a good first impression to people try it shepherd from Debian=E2=80=A6 i c= ould try to get guile patched, but it is getting late. A simple way would be to patch out the =E2=80=98environ=E2=80=99 warning in= Guile: it didn=E2=80=99t exist before 3.0.10, it=E2=80=99s bogus (it fires even when = you=E2=80=99re not mutating the environment and even with just a single user thread, as is the case here), and the comment itself doesn=E2=80=99t change program behav= ior. If that=E2=80=99s not adequate, we could try and come up with a quick hack = for shepherd to avoid the =E2=80=98environ=E2=80=99 call at the top-level (thou= gh that=E2=80=99s probably not something I would consider for inclusion in the Shepherd proper.) WDYT? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 04 09:07:27 2025 Received: (at 76343) by debbugs.gnu.org; 4 Mar 2025 14:07:27 +0000 Received: from localhost ([127.0.0.1]:56449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tpSvf-0005Fv-0G for submit@debbugs.gnu.org; Tue, 04 Mar 2025 09:07:27 -0500 Received: from uggla.sjd.se ([2001:9b1:8633::107]:52224) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tpSva-0005Fd-OA for 76343@debbugs.gnu.org; Tue, 04 Mar 2025 09:07:25 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2303; h=MIME-Version:Content-Type:References:In-Reply-To :Date:Cc:To:From:Subject:Message-ID:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description; bh=/B73v3K3mcJuuCFz4D4yOKGywE7vHsrE1aebvSM3b1w=; t=1741097238; x=1742306838; b=q8WxhmbMFFXmj/7Szcnbul+bme10rzPxIqv7h66YrIve6RqHwv4FcEpY3UdVaFs3M7uhkoMGQMQ Yrq9A8hUJAw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2303; h=MIME-Version:Content-Type:References: In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=/B73v3K3mcJuuCFz4D4yOKGywE7vHsrE1aebvSM3b1w=; t=1741097238; x=1742306838; b=OELakMcLvx9gYxVJSLSoHCx0el4X2Gxv6mpQh4PptesLzFLt5THqhMqB+zgJTHDSDKXBaCc2Yxq MgPDTYcXBITQda6U0hEG5fE7+tNKKs9pkmGPja+pR/T65mBzIUDYCYQPvaDrNvMq33KFuHQxE3obl YQnhiwNGEPLjXxvlj5s0CCTLEGkvfp1lrXlhXOiLkUikebyolL93MU1NvbtbRWc+XL9MpDznsndHC HbC7TJWEb8Oyodl6W1uFlIa8E5VDidmQV6kDNCka3ksWBKOAd5iAPH4CGg2xVWF5aU0bc+73Ijy9A v0RB5LHBeB9uEixGa+2RYv6z+pKgrJAPc9sYkQIAOhB+Wz81P4iMo4YL1n1AyZOOPhCD4TSHvG+X5 qLwvBCVJQ/zGu1Kc7bLy7ri1UmjCMrkdVQCKvfwbh2HeWXSQT+ZFvUZdyTKVfxEcRhdy6Fu1u; Received: from h-178-174-130-130.a498.priv.bahnhof.se ([178.174.130.130]:54704 helo=[192.168.10.153]) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tpSvS-002Af8-NP; Tue, 04 Mar 2025 14:07:14 +0000 Message-ID: Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. From: Simon Josefsson To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Tue, 04 Mar 2025 15:06:45 +0100 In-Reply-To: <871pvjwdym.fsf@gnu.org> References: <87frk03dss.fsf@gnu.org> <270FEE5B-1373-4060-92BC-B205BF867948@josefsson.org> <871pvjwdym.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-ZkvoOucIQJPRB1Mkg3lC" User-Agent: Evolution 3.44.4-0ubuntu2 MIME-Version: 1.0 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76343 Cc: 76343@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-ZkvoOucIQJPRB1Mkg3lC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable tor 2025-02-27 klockan 17:26 +0100 skrev Ludovic Court=C3=A8s: > Hi Simon, >=20 > Simon Josefsson skribis: >=20 > > Thank you! Does this make shepherd Debian packages useless, or can > > we suggest people to ignore the warning? Any simple way to patch it > > out from within shepherd? The Debian freeze is in two weeks and it > > would be nice to give a good first impression to people try it > > shepherd from Debian=E2=80=A6 i could try to get guile patched, but it = is > > getting late. >=20 > A simple way would be to patch out the =E2=80=98environ=E2=80=99 warning = in Guile: it > didn=E2=80=99t exist before 3.0.10, it=E2=80=99s bogus (it fires even whe= n you=E2=80=99re not > mutating the environment and even with just a single user thread, as > is > the case here), and the comment itself doesn=E2=80=99t change program > behavior. >=20 > If that=E2=80=99s not adequate, we could try and come up with a quick hac= k > for > shepherd to avoid the =E2=80=98environ=E2=80=99 call at the top-level (th= ough that=E2=80=99s > probably not something I would consider for inclusion in the Shepherd > proper.) A shephard-specific patch would be the simplest at this point, I think. =C2=A0 Do you have some idea how to do that? I agree it seems like a Debian- specific patch for now. OTOH, maybe this is not critical. It is a stderr warning message. But it does look ugly, and may give a bad first impression for Debian people migrating towards Guix. /Simon --=-ZkvoOucIQJPRB1Mkg3lC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQNTBAAWCAL7FiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmfHCPbCHCYAmDMEXJLO tBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9fV+QlTmXxo2naObDuGtw58YaxlOu0 JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9zZWZzc29uLm9yZz6IlgQTFggAPgIb AwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYhBLHSvRN1vst4TPT4xNc89jjFPAa+ BQJl/YgIBQkLehFUAAoJENc89jjFPAa+CboA+wUa06RD5e5VTCxvSWtPS75Wq2qB eYGZnf0jvUMxa2n4AP4xkUeAPPnNuMsTm2fsFCDIGaEM2Yn6Vb2huzzT1Fw/BLgz BFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAxI2hIX4HK9bQTpNVei708oNr1Klm8 qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCZf2IKwUJC3oQ qgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCXJLPgQAKCRBRcisI /kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE8GZHYNuFHmM9FEQS6AD6A4x5aYvo Y6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4JENc89jjFPAa+GcYA/26YQY05bLtn XiIjTiAzrGQrRXxTHPA8Av7TDFHvIetWAP9sHSoU8OfTwmTiEnGwLlsV7QJclZg3 YNz/Ypcp9TqQBrg4BFySz2oSCisGAQQBl1UBBQEBB0AxlRumDW6nZY7A+VCfek9V pEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggAJgIbDBYhBLHSvRN1vst4TPT4xNc8 9jjFPAa+BQJl/YgwBQkLehDGAAoJENc89jjFPAa+phoA/jrDqIrl/55vUMBhIQv+ TP635d2iCTEnyFmbUcP9+gh6APoDsXalVd2cOGxQtSC+TF8PkZMn1TLkJKAjVxr+ xx40AgAKCRBRcisI/kdFomTdAQC+4zTYXyFaoKpJz6y5eDibYdCiEBH8MvprKbsy cbxypQD+LHw00SsdaNqFS+BobG6nKLgMaD9PivJ4vi2Z4erNmww= =VfiN -----END PGP SIGNATURE----- --=-ZkvoOucIQJPRB1Mkg3lC-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 04 10:40:07 2025 Received: (at 76343) by debbugs.gnu.org; 4 Mar 2025 15:40:07 +0000 Received: from localhost ([127.0.0.1]:60466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tpUNK-0002fb-Sf for submit@debbugs.gnu.org; Tue, 04 Mar 2025 10:40:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34818) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tpUNF-0002d8-Rl for 76343@debbugs.gnu.org; Tue, 04 Mar 2025 10:40:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tpUN9-0004TO-Eu; Tue, 04 Mar 2025 10:39:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=uiltscaMyzV20YY0zbw09LxA401b/LefdiNmLMgnNjU=; b=FGh7QqznjwqMFeUuhd2A aUvRyeOBGfshDUJbmRcS68MYC99FzHdKmZN/qmE1FOxStG0Tac4poFDT0OgGNTLWaAqU48n7zVNZt IUvGQcJRywXc/IrlNrSTPLi8daG6lKXq1W3l2YJOuGH22iEEwXPaTqJt87bZdiYaiCM3OjFdJuKC9 T5AsDR8/hJxNkK2OVdtpQAEG85gPBbIORybEhLu4Zs7QjQI3rkelByYoYs3DfbOcH9rv9B8vCaSRE Kmp5iL54msvhr8g7l6LW1nbd65ufap1dkW6xjXiYwrL8x3qIXDuSZqgDCU8xs+W86cT9S9Umf9BkP 4elX0qCPTowWsA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Josefsson Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. In-Reply-To: (Simon Josefsson's message of "Tue, 04 Mar 2025 15:06:45 +0100") References: <87frk03dss.fsf@gnu.org> <270FEE5B-1373-4060-92BC-B205BF867948@josefsson.org> <871pvjwdym.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 =?utf-8?Q?Vent=C3=B4se?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du =?utf-8?Q?V=C3=A9lar?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 04 Mar 2025 16:39:46 +0100 Message-ID: <87r03cajp9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76343 Cc: 76343@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Simon Josefsson skribis: > A shephard-specific patch would be the simplest at this point, I think. > =C2=A0 > Do you have some idea how to do that? I agree it seems like a Debian- > specific patch for now. The patch below appears to do the trick. I guess I could just as well integrate it in the next 1.0.x bug-release. Does it work for you? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/modules/shepherd.scm b/modules/shepherd.scm index d55373a..a35a415 100644 --- a/modules/shepherd.scm +++ b/modules/shepherd.scm @@ -515,7 +515,11 @@ fork in the child process." ;; stdout. Redirect stdout to the bitbucket so we ;; don't log twice. (%make-void-port "w") - (current-output-port))))) + (current-output-port)))) + + ;; In Guile 3.0.10, calling 'environ' from the top-level + ;; triggers a warning so do it from here. + (default-environment-variables (environ))) (parameterize ((current-output-port (%current-service-output-port))) (set-port-encoding! (log-output-port) "UTF-8") diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm index 2d64897..c8667e6 100644 --- a/modules/shepherd/service.scm +++ b/modules/shepherd/service.scm @@ -1437,7 +1437,7 @@ background:~{ ~a~}." (define default-environment-variables ;; The default list of environment variable name/value pairs that should be ;; set when starting a service. - (make-parameter (environ))) + (make-parameter '())) (define default-pid-file-timeout ;; Maximum number of seconds to wait for a PID file to show up. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 04 11:20:44 2025 Received: (at 76343) by debbugs.gnu.org; 4 Mar 2025 16:20:44 +0000 Received: from localhost ([127.0.0.1]:60567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tpV0e-0007vC-2x for submit@debbugs.gnu.org; Tue, 04 Mar 2025 11:20:44 -0500 Received: from uggla.sjd.se ([2001:9b1:8633::107]:34708) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tpV0a-0007uz-SL for 76343@debbugs.gnu.org; Tue, 04 Mar 2025 11:20:42 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2303; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=asgiihHCXoGdnkWhbuXz/GMuKP60lsMmVFn+an0Spfs=; t=1741105236; x=1742314836; b=Yi81g6FMXABJuU4ugXhEPn+52EZZF1fqp/BdlrLpT7OD+xvy1hTgH+uUHfL7OGF+O7s4ybGolAz FMmOhULxXDg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2303; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=asgiihHCXoGdnkWhbuXz/GMuKP60lsMmVFn+an0Spfs=; t=1741105236; x=1742314836; b=fyl6PNWU9egYkPsRmYBrKPQg++WYIhr0Ao5XXkJ6T41qFeCCFZQE/ITz3p4+ydC72lYI/7GeLRn DtsBSFp+YA9UiTmUzpIu210HgOlPDazFrV46fHdYfDm17iZaRqnyu+10XoW5oxREn+L2OWdaPhlOM 64O0O6L8pn4m8CEGjAmgzorciVZPaSTVhfzdaLQRHi7vyJZ5TqTEe2QZto23+U8PdUBwo0OrS7B2A c95sJfs2UzoNJINsEWp517JL/3DW5TpQ2TuuOiHS6a9Je+7NXwmtGpi0pjFbUoRrDEqhnrodplS2r ULxuvNFxs9B1NQ5Fzd3yb90b4uQGjdEv+BH35Z2A0XfDgHuoMwzicspFk7Z5o1VCbzHbHJGiS8FhS CThXfYQVsTaD0fJw6Kzaakv/UKUDIGFE8LrWGN5YjEJmRPz9dxAzHjMKTx/aclUVmHJQtP04J; Received: from h-178-174-130-130.a498.priv.bahnhof.se ([178.174.130.130]:34686 helo=kaka) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tpV0S-002Kx2-F3; Tue, 04 Mar 2025 16:20:32 +0000 From: Simon Josefsson To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. In-Reply-To: <87r03cajp9.fsf@gnu.org> ("Ludovic =?iso-8859-1?Q?Court=E8s?= =?iso-8859-1?Q?=22's?= message of "Tue, 04 Mar 2025 16:39:46 +0100") References: <87frk03dss.fsf@gnu.org> <270FEE5B-1373-4060-92BC-B205BF867948@josefsson.org> <871pvjwdym.fsf@gnu.org> <87r03cajp9.fsf@gnu.org> OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:23:250304:ludo@gnu.org::H1Ko0Q8p4nApf/69:WIqK X-Hashcash: 1:23:250304:76343@debbugs.gnu.org::nLfUUtfclvDiaIAD:RD26 Date: Tue, 04 Mar 2025 17:20:03 +0100 Message-ID: <87tt88sr7w.fsf@josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76343 Cc: 76343@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi, > > Simon Josefsson skribis: > >> A shephard-specific patch would be the simplest at this point, I think. >> =C2=A0 >> Do you have some idea how to do that? I agree it seems like a Debian- >> specific patch for now. > > The patch below appears to do the trick. I guess I could just as well > integrate it in the next 1.0.x bug-release. > > Does it work for you? It does, yes! Breaking: https://salsa.debian.org/debian/shepherd/-/jobs/7197263 Working: https://salsa.debian.org/debian/shepherd/-/jobs/7197290 The only difference is your patch. I'll upload this eventually. Thanks, /Simon > > Thanks, > Ludo=E2=80=99. > > diff --git a/modules/shepherd.scm b/modules/shepherd.scm > index d55373a..a35a415 100644 > --- a/modules/shepherd.scm > +++ b/modules/shepherd.scm > @@ -515,7 +515,11 @@ fork in the child process." > ;; stdout. Redirect stdout to the bitbucket so= we > ;; don't log twice. > (%make-void-port "w") > - (current-output-port))))) > + (current-output-port)))) > + > + ;; In Guile 3.0.10, calling 'environ' from the top-le= vel > + ;; triggers a warning so do it from here. > + (default-environment-variables (environ))) >=20=20 > (parameterize ((current-output-port (%current-service-output-port)= )) > (set-port-encoding! (log-output-port) "UTF-8") > diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm > index 2d64897..c8667e6 100644 > --- a/modules/shepherd/service.scm > +++ b/modules/shepherd/service.scm > @@ -1437,7 +1437,7 @@ background:~{ ~a~}." > (define default-environment-variables > ;; The default list of environment variable name/value pairs that shou= ld be > ;; set when starting a service. > - (make-parameter (environ))) > + (make-parameter '())) >=20=20 > (define default-pid-file-timeout > ;; Maximum number of seconds to wait for a PID file to show up. > --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQNoBAEWCAMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmfHKDQUHHNpbW9uQGpv c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh BLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgIBQkLehFUAAoJENc89jjFPAa+CboA +wUa06RD5e5VTCxvSWtPS75Wq2qBeYGZnf0jvUMxa2n4AP4xkUeAPPnNuMsTm2fs FCDIGaEM2Yn6Vb2huzzT1Fw/BLgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0 +MTXPPY4xTwGvgUCZf2IKwUJC3oQqgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE 8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J ENc89jjFPAa+GcYA/26YQY05bLtnXiIjTiAzrGQrRXxTHPA8Av7TDFHvIetWAP9s HSoU8OfTwmTiEnGwLlsV7QJclZg3YNz/Ypcp9TqQBrg4BFySz2oSCisGAQQBl1UB BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgwBQkLehDGAAoJENc89jjF PAa+phoA/jrDqIrl/55vUMBhIQv+TP635d2iCTEnyFmbUcP9+gh6APoDsXalVd2c OGxQtSC+TF8PkZMn1TLkJKAjVxr+xx40AgAKCRBRcisI/kdFok4iAQDfCXWDyoIc BM1fnuJWiYXvp2U1EPzDeLgOjG/MGP//FwEApZtT3DDJK6LURMO9VYcr/FgUcszk Skb5W1qF/kgPpwg= =nFvV -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 06 10:27:07 2025 Received: (at 76343-done) by debbugs.gnu.org; 6 Mar 2025 15:27:07 +0000 Received: from localhost ([127.0.0.1]:44772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tqD7q-00019u-Qo for submit@debbugs.gnu.org; Thu, 06 Mar 2025 10:27:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58108) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tqD7m-00019G-Nt for 76343-done@debbugs.gnu.org; Thu, 06 Mar 2025 10:27:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tqD7f-0003aM-PC; Thu, 06 Mar 2025 10:26:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=gXxpo/82byRQK/A9n6je4h7/Yh6XsqGaJxRp3v/ZOY8=; b=qwz6F/LsWH7EglafNxGn zznXjzCa8P7OsBIIsYgsrG6FlO+GjYtbD0QBRY6th14kFnRZA3i2jsQY/LrqHyRvvxnwOCoA0Zje3 Zmo3C+JmsnWS2BwWh3GSCCbEbmzXpmqBxu7hnuceIz2lx1tnyT5/wZgEqt4f/NK8ll1LbVBRKk1sl YUFJGDy91qdnkPVmyl96kj99YG18CcPI3ty4mZz9mbOpP2+eQbOWXLiHwQ5cgNHc1Xq0MZHBlyX4a CojAORYIECrCp1kh7wFVJE+5EodBt4vhM+i0YGZij3fbbIc120G+RA7i04U9fLHyry63CUwcaPicP du0qH3fENn5xUw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Josefsson Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified. In-Reply-To: <87tt88sr7w.fsf@josefsson.org> (Simon Josefsson's message of "Tue, 04 Mar 2025 17:20:03 +0100") References: <87frk03dss.fsf@gnu.org> <270FEE5B-1373-4060-92BC-B205BF867948@josefsson.org> <871pvjwdym.fsf@gnu.org> <87r03cajp9.fsf@gnu.org> <87tt88sr7w.fsf@josefsson.org> Date: Thu, 06 Mar 2025 16:26:29 +0100 Message-ID: <875xkmxjru.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76343-done Cc: 76343-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Simon Josefsson skribis: > Ludovic Court=C3=A8s writes: > >> Hi, >> >> Simon Josefsson skribis: >> >>> A shephard-specific patch would be the simplest at this point, I think. >>> =C2=A0 >>> Do you have some idea how to do that? I agree it seems like a Debian- >>> specific patch for now. >> >> The patch below appears to do the trick. I guess I could just as well >> integrate it in the next 1.0.x bug-release. >> >> Does it work for you? > > It does, yes! Excellent. :-) Pushed in the Shepherd as 8e951de13120729907c527d4a420b579aec944f4. Thanks! Ludo=E2=80=99. From unknown Mon Aug 18 14:20:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 04 Apr 2025 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator