Re: avoid mkdir/selinux failure when mknod is a shell built-in

2008-04-16 Thread Ralf Wildenhues
[ re-added bug-autoconf ] * Eric Blake wrote on Wed, Apr 16, 2008 at 08:04:23PM CEST: > Subject: [PATCH] Document pdksh exec behavior. > > * doc/autoconf.texi (Limitations of Builtins) : New > subsection. > Discovered by Jim Meyering. This looks good to me, thanks. Cheers, Ralf

Re: avoid mkdir/selinux failure when mknod is a shell built-in

2008-04-16 Thread Eric Blake
Ralf Wildenhues gmx.de> writes: > > case bug in the shell portability section. POSIX states that exec is > > supposed to bypass shell builtins (and while special shell builtins, like > > 'exit', give undefined behavior when passed to exec, regular shell > > builtins, like 'fg', are required to e

Re: avoid mkdir/selinux failure when mknod is a shell built-in

2008-04-16 Thread Ralf Wildenhues
Hi Eric, * Eric Blake wrote on Wed, Apr 16, 2008 at 03:07:42PM CEST: > According to Jim Meyering on 4/16/2008 6:57 AM: > | $ PATH=. /bin/sh -c 'exec mknod --version'|head -1 > | /bin/sh: mknod: --: unknown option > > Ouch - this looks like a POSIX compliance bug in exec; I'm adding > bug-autoc

Re: avoid mkdir/selinux failure when mknod is a shell built-in

2008-04-16 Thread Eric Blake
Jim Meyering meyering.net> writes: > > > > Ouch - this looks like a POSIX compliance bug in exec > > This is on 3.9 GENERIC#617 i386 OpenBSD, > and /bin/sh is a hard link to /bin/ksh. > "strings" says it's PDKSH: > > PD KSH v5.2.14 99/07/13.2 Hmm - cygwin also has pdksh 5.2.14, but there, mk

Re: avoid mkdir/selinux failure when mknod is a shell built-in

2008-04-16 Thread Jim Meyering
Eric Blake <[EMAIL PROTECTED]> wrote: > According to Jim Meyering on 4/16/2008 6:57 AM: > | $ PATH=. /bin/sh -c 'exec mknod --version'|head -1 > | /bin/sh: mknod: --: unknown option > > Ouch - this looks like a POSIX compliance bug in exec; I'm adding > bug-autoconf to the distribution in case

Re: avoid mkdir/selinux failure when mknod is a shell built-in

2008-04-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 4/16/2008 6:57 AM: | $ PATH=. /bin/sh -c 'exec mknod --version'|head -1 | /bin/sh: mknod: --: unknown option Ouch - this looks like a POSIX compliance bug in exec; I'm adding bug-autoconf to the distribution in case w