GNU bug report logs - #33781
tramp trouble when PATH is very long

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 17 Dec 2018 19:17:02 UTC

Severity: minor

Tags: fixed

Found in version 27.0.50

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 33781 <at> debbugs.gnu.org
Subject: bug#33781: tramp tests abort on hydra
Date: Thu, 20 Dec 2018 11:16:46 +0100
Andreas Schwab <schwab <at> linux-m68k.org> writes:

>> Yes, I could reproduce it. The problem is, that there is an upper limit
>> to the length of the $PATH variable, to be checked by
>>
>> # getconf PATH_MAX /
>
> PATH_MAX has nothing to do with $PATH.

Yes, PATH_MAX by definition is the maximum length of a file path. But I
still have the feeling it is also involved in setting the $PATH
environment variable. As Glenn did report, there are problems on hydra
when setting $PATH to a string longer than 4096 characters. It doesn't
seem to be related to the shell limit of input lines; Glenn reported
that 'getconf LINE_MAX' returns 2048.

> Andreas.

Best regards, Michael.




This bug report was last modified 6 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.