Re: [systemd-devel] Is it a bug of manager->n_on_console?

2018-01-24 Thread Lennart Poettering
On Mo, 25.12.17 13:31, piliu (pi...@redhat.com) wrote: > Hi, > > When debugging with a shell, manager_status_printf() always prints "A > start job...". After tracing the systemd's code, I found in that > function, the cond "if (type == STATUS_TYPE_EPHEMERAL && m && > m->n_on_console > 0)" does no

Re: [systemd-devel] Is it a bug of manager->n_on_console?

2017-12-26 Thread piliu
When trying to interact with a emergency shell, this bug brights trouble by dumping endless status message to console On 12/25/2017 01:31 PM, piliu wrote: > Hi, > > When debugging with a shell, manager_status_printf() always prints "A > start job...". After tracing the systemd's code, I found in

[systemd-devel] Is it a bug of manager->n_on_console?

2017-12-24 Thread piliu
Hi, When debugging with a shell, manager_status_printf() always prints "A start job...". After tracing the systemd's code, I found in that function, the cond "if (type == STATUS_TYPE_EPHEMERAL && m && m->n_on_console > 0)" does not meet. With a debugging patch, I got the following message, which