I did telnet to the box on port 2323 (telnet with the old lash shell) I did start strace and paste some console message when i did start the 2e telnet (on port 23 with latest hush) (its possible/likely my strace is buggy)
/paste console /hdd # strace -f -o strace.log -p 68 Process 68 attached - interrupt to quit PANIC: setbpt for syscall 190 on 68??? Process 79 attached Process 68 detached Process 79 detached /end paste console i did paste the strace.log (its small) /hdd # cat strace.log 68 select(10, [4 5 6 7 8 9], NULL, NULL, NULL) = 1 (in [7]) 68 accept(7, 0, NULL) = 3 68 rt_sigprocmask(SIG_BLOCK, [HUP ALRM CHLD], [], 8) = 0 68 vfork() = 79 68 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 68 close(3) = 0 68 select(10, [4 5 6 7 8 9], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted) 68 --- SIGCHLD (Child exited) @ 0 (0) --- 68 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 79 68 wait4(-1, 0x1573c58, WNOHANG, NULL) = 0 68 sigreturn() = ? (mask now []) 68 select(10, [4 5 6 7 8 9], NULL, NULL, NULL <unfinished ...> If i just attach to the inetd and exit (without a sleep and <ctr c> ) i get /hdd # cat strace3.log 68 select(10, [4 5 6 7 8 9], NULL, NULL, NULL) = 1 (in [7]) 68 accept(7, 0, NULL) = 3 68 rt_sigprocmask(SIG_BLOCK, [HUP ALRM CHLD], [], 8) = 0 68 vfork() = 87 68 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 68 close(3) = 0 68 select(10, [4 5 6 7 8 9], NULL, NULL, NULL <unfinished ...> My config is attached > -----Oorspronkelijk bericht----- > Van: Denys Vlasenko [mailto:[EMAIL PROTECTED] > Verzonden: vrijdag 25 april 2008 19:51 > Aan: Martinb_ARM_NOMMU_KISSDVD > CC: [email protected] > Onderwerp: Re: tar xzf does not work anymore on my arm system > > > On Wednesday 23 April 2008 23:22, Martinb_ARM_NOMMU_KISSDVD wrote: > > sorry, here some more info how to reproduce > > > > I have a nommu arm system > > I do use inetd and I did switch from lash to hush > > > > services look like this > > > > telnet 23/tcp # telnet > > telnet2 2323/tcp # test telnet > > > > inetd.conf looks like this: > > > > http stream tcp nowait root /hdd/stage2/bin/httpd httpd -h > > /hdd/stage2/htmlroot > > ftp stream tcp nowait root /bin/ftpd ftpd -b -H -w > > kml stream tcp nowait root /hdd/stage2/bin/httpd httpd -h > > /hdd/stage2/htmlroot > > telnet stream tcp nowait root /sbin/telnetd telnetd -l /bin/hush > > httpfsck stream tcp nowait root /systempart/httpd httpd -h > /systempart > > telnet2 stream tcp nowait root /sbin/telnetd telnetd -l > /hdd/test/lash > > > > the lash is a old version > > hush is the latest version > > > > if I connect to the 2e telnet (on port 2323) I get a telnetprompt > > if I execute a command (like ls) and while its running press <CTRL> <C> > > telnet still runs > > > > if I connect to the first telnet (on port 23) i also get a telnetprompt > > if I execute a command (like ls) and while its running press <CTRL> <C> > > telnet just exit and if I connect again I dont see any old > running process > > > > so I do telnet to 2323 > > type "ls" > > press <CTRL> <C> and I just exit the command and go back to > (telnet)prompt > > > > if i telnet to 23 > > type "ls" > > press <CTRL> <C> telnet just ends > > > > I set up a similar environment and it doesn't fail for me as you describe. > Perhaps the difference is in our .config files. Please send me yours. > > Also, it will be interesting to see the result of > > strace -f -o strace.log -p <inet'd pid> > > Start inetd first, then strace, then telnet into the box, run "sleep 10" > and Ctrl-C it - telnetd will die as you describe (correct behavior > is "only sleep dies, telnetd does not"). Then stop (Ctrl-C) strace > and post the resulting strace.log > -- > vda
.config.bz2
Description: Binary data
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
