From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: bug#23112: value of _CS_PATH\ Date: Wed, 4 May 2016 07:45:37 +0200 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" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axpdZ-0003lz-W7 for bug-guix@gnu.org; Wed, 04 May 2016 01:46:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axpdO-0007Tv-45 for bug-guix@gnu.org; Wed, 04 May 2016 01:46:12 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axpdO-0007TL-1C for bug-guix@gnu.org; Wed, 04 May 2016 01:46:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axpdK-0003O5-GQ for bug-guix@gnu.org; Wed, 04 May 2016 01:46:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87bn4mki24.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic Court??s Cc: 23112@debbugs.gnu.org, John Darrington --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--