From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 01:45:43 2016 Received: (at 23112) by debbugs.gnu.org; 4 May 2016 05:45:43 +0000 Received: from localhost ([127.0.0.1]:36274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axpd1-0003NT-Hj for submit@debbugs.gnu.org; Wed, 04 May 2016 01:45:43 -0400 Received: from de.cellform.com ([88.217.224.109]:50568 helo=jocasta.intra) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axpcy-0003NJ-Em for 23112@debbugs.gnu.org; Wed, 04 May 2016 01:45:42 -0400 Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.14.4/8.14.4/Debian-8) with ESMTP id u445jcCW009389 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 May 2016 07:45:38 +0200 Received: (from john@localhost) by jocasta.intra (8.14.4/8.14.4/Submit) id u445jbvV009388; Wed, 4 May 2016 07:45:37 +0200 Date: Wed, 4 May 2016 07:45:37 +0200 From: John Darrington To: Ludovic Court??s Subject: Re: bug#23112: value of _CS_PATH\ Message-ID: <20160504054537.GA9330@jocasta.intra> References: <20160325180600.GA20217@jocasta.intra> <87bn5nwxmx.fsf@gnu.org> <87bn4mki24.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <87bn4mki24.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 23112 Cc: 23112@debbugs.gnu.org, John Darrington 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 (/) --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 03, 2016 at 10:22:43PM +0200, Ludovic Court??s wrote: ludo@gnu.org (Ludovic Court??s) skribis: =20 > John Darrington skribis: > >> Would it not be correct for guix to have=20 >> >> confstr (_CS_PATH, buf, len); >> >> set the contents of buf with the bin directory of the currently=20 >> installed coreutils package? >> >> For me, it returns /bin:/usr/bin which is not correct. > > Fixing it is a bit tricky because: > > 1. The meaning of this variable is ill-defined. Specifically, POS= IX > says it ???is the value for the PATH environment variable that = finds > all standard utilities.??? By ???standard utilities???, surely= they must > be talking of ???guile???, ???guix???, ???herd???, and a couple= of others, but > we can???t be sure. ;-) > > http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd= =2Eh.html > > 2. If CS_PATH refers to Coreutils, then that means that libc refer= s to > Coreutils, which is inconvenient at best. > > 3. We could set CS_PATH to /run/current-system/profile/bin but that > wouldn???t work on foreign distros. > > So I???m inclined to leave things as is. =20 I???ll close the bug if you don???t mind, but??? OK =20 > Did you find a situation where the invalid value was causing trouble= s? =20 ??? I???m still interested in knowing this. :-) I didn't find a technical trouble. Only political ones. =20 TIA, Ludo???. --=20 Avoid eavesdropping. Send strong encryted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlcpjIEACgkQimdxnC3oJ7NuOACfTnUQjwx61KTKSjqYnFkQh4Wb obUAn2VA93I7sVQZ+tC0OXSL0kna42P6 =Jxgv -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--