Bug#788979: dash: Argument list too long error on not too long argument

2015-08-15 Thread Jilles Tjoelker
On Sat, Aug 15, 2015 at 02:13:22AM +0200, Vincent Lefevre wrote: On 2015-08-14 20:16:27 +0200, Jilles Tjoelker wrote: This is not a bug in dash but either in the Linux kernel or in glibc. The existence of MAX_ARG_STRLEN (see execve(2)) could be considered a bug, since POSIX does not

Bug#788979: dash: Argument list too long error on not too long argument

2015-08-14 Thread Vincent Lefevre
On 2015-08-14 20:16:27 +0200, Jilles Tjoelker wrote: This is not a bug in dash but either in the Linux kernel or in glibc. The existence of MAX_ARG_STRLEN (see execve(2)) could be considered a bug, since POSIX does not provide a hint that a limit on the length of an individual argument may

Bug#788979: dash: Argument list too long error on not too long argument

2015-06-16 Thread Vincent Lefevre
Package: dash Version: 0.5.7-4+b1 Severity: important $ getconf ARG_MAX 2097152 $ seq 3 | wc -c 168894 $ /bin/true `seq 3` sh: 3: /bin/true: Argument list too long $ /bin/true sh: 4: getconf: Argument list too long $ With a limit of 2 MB, I should have never got this error. This is a