**** BEGIN LOGGING AT Mon Jul 16 02:59:58 2007 Jul 16 05:12:24 03bzhou * r6396 10optware/trunk/make/littlesmalltalk.mk: littlesmalltalk: added Jul 16 05:13:42 03bzhou * r6397 10optware/trunk/Makefile: promoted littlesmalltalk as native package, its image format is not endian safe Jul 16 12:52:46 hello everyone Jul 16 12:53:05 i have a question about compiling my own package for wl500g, if someone can help me Jul 16 13:00:26 anyone ? Jul 16 13:53:34 You mean an optware package? Jul 16 13:59:43 yes Jul 16 13:59:53 sorry i was looking at another screen ;) Jul 16 14:00:02 the package is tinyproxy Jul 16 14:00:13 make tinyproxy works but ùale tinyproxy-ipk does not Jul 16 14:00:21 (make tinyproxy-ipk) Jul 16 14:06:16 haaaan, is it possible that you share the make file with us, via rafb.net or pastebin? Jul 16 16:18:35 03bzhou * r6398 10optware/trunk/make/littlesmalltalk.mk: littlesmalltalk: image in network byte order, build as a cross package Jul 16 17:05:45 03bzhou * r6399 10optware/trunk/make/py-kid.mk: py-kid: 0.9.5 -> 0.9.6 Jul 16 17:09:43 03bzhou * r6400 10optware/trunk/Makefile: move littlesmalltalk from native to cross Jul 16 21:15:24 With unslung / optware the latest update to bash appears to have broken the use of remote commands in openssh (i.e. "ssh slug" works but "ssh slug ls" produces no output and return code 255). As far as I can tell the problem must be with bash as changing my default shell to /bin/sh makes it work. Jul 16 21:16:17 Does anyone have a better idea to debug it than writing a wrapper around bash to record how ssh is starting bash - adding -d options to sshd doesn't seem to reveal much Jul 16 21:59:31 AdamBaker: i don't have any better idea, i can only confirm the problem Jul 16 21:59:57 scp also does not work Jul 16 22:00:31 only root can "ssh slug ls" or scp with this version of bash Jul 16 22:00:46 when i switched to zsh, everything works Jul 16 22:03:25 what's in /etc/shells? Jul 16 22:03:30 eno: Thanks for the confirmation - Have you got root's shell as bash in /etc/passwd Jul 16 22:04:36 just one line /opt/bin/bash Jul 16 22:04:59 i just removed latest bash, and installed http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/unstable/bash_3.2-2_armeb.ipk Jul 16 22:05:05 and it's working Jul 16 22:05:11 kolla: By default it doesn't exist but I just created it with /opt/bin/bash in and it still doesn't work. Jul 16 22:05:20 ok Jul 16 22:05:30 so the problem must be in this bash_3.2-3 Jul 16 23:01:47 Progress I think - I've tried to recreate the scenario of how bash gets started by openssh and the result is bash segfaulting. Unfortunately the stack is corrupted in the core dump. Jul 16 23:12:51 It seems that when used with the -c option the latest bash must be started with a valid $PWD in the environment. I can verify that (after sleeping) by adding it to the environment in my wrapper. Jul 17 00:29:52 03bzhou * r6401 10optware/trunk/make/bash.mk: bash: added cached bash_cv_getcwd_malloc env to configure, otherwise bash32-011 patch has bad interaction **** ENDING LOGGING AT Tue Jul 17 02:59:59 2007