On Sat, 15 Apr 2000, Eric J. Schwertfeger wrote:
> Broken as in if you connect to lshd, it goes through host and user
> authentication as normal, then lsh abruptly terminates.  Propper debugging
> info tomorrow, but for now, here's the only thing that looks unusual
> 
> do_spawn_shell: Child process
> do_exec_shell: Setting up environment.
> do_exec_shell: Environment:
>     'TERM'
>     'K'
>     ''
>     '\'
> Child 60125 killed by signal 11.
Hmmm. Seems familiar... Are you running the _server_ with --debug?
(probably yes, otherway you wouldn't get this message ;) Is it
working without --debug? If this is the case, then check Niels' letter
about a similar problem. (There was a patch for that, involving a call to
debug() in unix_user.c).

Greets,
Keresztg

The patch was:
diff -u -a -r1.7 unix_user.c
--- unix_user.c 2000/04/02 19:33:31     1.7
+++ unix_user.c 2000/04/13 16:42:21
@@ -289,7 +289,7 @@

   debug("do_exec_shell: Environment:\n");
   for (i=0; envp[i]; i++)
-    debug("    '%z'\n", env[i]);
+    debug("    '%z'\n", envp[i]);

 #if USE_LOGIN_DASH_CONVENTION
   if (login)



Reply via email to