Re: [systemd-devel] Question about 'vt100-nav' : unknown terminal type

2010-12-23 Thread Lennart Poettering
On Fri, 24.12.10 09:04, [email protected] ([email protected]) wrote: > Hi Lennart, > > Thank you for the reply. Still get one question: what does the comment > "Proper handling of /dev/console would be cool" mean? /dev/console is an alias name for some other tty and the kernel offers no nice way

Re: [systemd-devel] Question about 'vt100-nav' : unknown terminal type

2010-12-23 Thread [email protected]
Hi Lennart, Thank you for the reply. Still get one question: what does the comment "Proper handling of /dev/console would be cool" mean? I found exec_spawn(src/execute.c) will call default_term_for_tty: our_env[n_env++] = strdup(default_term_for_tty(tty_path(context))) If I didn't specify TTYPa

Re: [systemd-devel] Question about 'vt100-nav' : unknown terminal type

2010-12-23 Thread Lennart Poettering
On Thu, 23.12.10 18:37, [email protected] ([email protected]) wrote: > Hi all, > > I tried systemd v15 on debian squeeze, and got message "'vt100-nav' : > unknown terminal type.". It seems default_term_for_tty(src/util.c) returns > 'TERM=vt100-nav' for input arg tty='console'. After forcing > def

Re: [systemd-devel] [PATCH] avoid race condition in pick_next_task_fair in kernel/sched_fair.c

2010-12-23 Thread [email protected]
Hi all, I encountered kernel panic with systemd too, but not sure is related with this thread. The Call Trace mentions pick_next_task_fair: http://dev.lemote.com/files/upload/people/~chenj/systemd-crash/DSC00163.JPG It w

[systemd-devel] Question about 'vt100-nav' : unknown terminal type

2010-12-23 Thread [email protected]
Hi all, I tried systemd v15 on debian squeeze, and got message "'vt100-nav' : unknown terminal type.". It seems default_term_for_tty(src/util.c) returns 'TERM=vt100-nav' for input arg tty='console'. After forcing default_term_for_tty to return 'TERM=linux', the message goes away. Also I got a war