Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

compat linux exec arguments weirdness



Anyone else seeing this ?

$ uname -a
NetBSD sheep 6.99.31 NetBSD 6.99.31 (SHEEP) #0: Sat Feb  8 16:56:29 MET 2014  
onno@sheep:/usr/src/sys/arch/i386/compile/SHEEP i386
$ pkg_info|grep suse_bas
suse_base-13.1nb1   Linux compatibility package
$ ls -al /emul/linux/usr/bin/uname
-rwxr-xr-x  1 root  wheel  30508 Feb  8 08:51 /emul/linux/usr/bin/uname
$ /emul/linux/usr/bin/uname -a
Linux sheep 3.11.6 #1 SMP PREEMPT Thu Oct 24 16:23:02 UTC 2013 i686 i686 i386 
GNU/Linux
$ /emul/linux/bin/bash -c "uname -a"
: extra operand '\277\277'
Try ' --help' for more information.

Tried this with a suse 13.1 i586 ksh93 rpm and got exactly
the same result. So, direct execute of the linux binary fine
but failing miserably using the two shells I tried.

Before I'm gonna debug this, any ideas ?

Onno


Home | Main Index | Thread Index | Old Index