Re: systemd-bootchart, switch-root breakage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> **1. systemd-bootchart stops too early**

>

> According to "man systemd-bootchart", the recommended way to invoke bootchart is via a kernel parameter:

>

>   init=/usr/lib/systemd/systemd-bootchart

>

> That parameter causes systemd-bootchart to be executed as the new init process when we switch into the real root filesystem.

>

> bootchart does run, but it stops too early.

>

> In /etc/systemd/bootchart.conf, I have bootchart configured to collect 1800 samples at a frequency of 10 samples per sec.  It should run for about 3 minutes.

>

> When I login, the svg file is already present under /run/log (but the system has only been up for about 10 secs).

>

> Doing "grep bootchart /proc/*/cmdline" when I login shows that bootchart is not running.

 

I opened https://github.com/systemd/systemd-bootchart/issues/58 to track this.

 

The issue is worse than systemd-bootchart stopping too early.  The genenerated svg is actually a zero byte file.


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux