GNU bug report logs -
#23112
value of _CS_PATH\
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23112 in the body.
You can then email your comments to 23112 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#23112
; Package
guix
.
(Fri, 25 Mar 2016 18:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
John Darrington <john <at> darrington.wattle.id.au>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 25 Mar 2016 18:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Would it not be correct for guix to have
confstr (_CS_PATH, buf, len);
set the contents of buf with the bin directory of the currently
installed coreutils package?
For me, it returns /bin:/usr/bin which is not correct.
J'
--
Avoid eavesdropping. Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23112
; Package
guix
.
(Tue, 05 Apr 2016 21:32:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 23112 <at> debbugs.gnu.org (full text, mbox):
John Darrington <john <at> darrington.wattle.id.au> skribis:
> Would it not be correct for guix to have
>
> confstr (_CS_PATH, buf, len);
>
> set the contents of buf with the bin directory of the currently
> 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, POSIX
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.h.html
2. If CS_PATH refers to Coreutils, then that means that libc refers 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.
Did you find a situation where the invalid value was causing troubles?
Thanks,
Ludo’.
Added tag(s) moreinfo.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Thu, 14 Apr 2016 20:31:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23112
; Package
guix
.
(Tue, 03 May 2016 20:24:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 23112 <at> debbugs.gnu.org (full text, mbox):
ludo <at> gnu.org (Ludovic Courtès) skribis:
> John Darrington <john <at> darrington.wattle.id.au> skribis:
>
>> Would it not be correct for guix to have
>>
>> confstr (_CS_PATH, buf, len);
>>
>> set the contents of buf with the bin directory of the currently
>> 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, POSIX
> 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.h.html
>
> 2. If CS_PATH refers to Coreutils, then that means that libc refers 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.
I’ll close the bug if you don’t mind, but…
> Did you find a situation where the invalid value was causing troubles?
… I’m still interested in knowing this. :-)
TIA,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23112
; Package
guix
.
(Wed, 04 May 2016 05:46:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 23112 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, May 03, 2016 at 10:22:43PM +0200, Ludovic Court??s wrote:
ludo <at> gnu.org (Ludovic Court??s) skribis:
> John Darrington <john <at> darrington.wattle.id.au> skribis:
>
>> Would it not be correct for guix to have
>>
>> confstr (_CS_PATH, buf, len);
>>
>> set the contents of buf with the bin directory of the currently
>> 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, POSIX
> 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.h.html
>
> 2. If CS_PATH refers to Coreutils, then that means that libc refers 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.
I???ll close the bug if you don???t mind, but???
OK
> Did you find a situation where the invalid value was causing troubles?
??? I???m still interested in knowing this. :-)
I didn't find a technical trouble. Only political ones.
TIA,
Ludo???.
--
Avoid eavesdropping. Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[signature.asc (application/pgp-signature, inline)]
Added tag(s) wontfix.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Wed, 04 May 2016 07:28:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
23112 <at> debbugs.gnu.org and John Darrington <john <at> darrington.wattle.id.au>
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Wed, 04 May 2016 07:28:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 01 Jun 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 21 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.