app-benchmarks/bootchart and the udev init-script/addon interact badly when it comes to using /dev/null. When booting with init=/sbin/bootchartd, bootchart catches in between mounting tmpfs and mknod /dev/null (and mknod does not overwrite existing files). "mknod /dev/null" is needed as udevd needs a proper /dev/null to exist to daemonize itself. As bootchart writes to /dev/null at every sample point it will accidentially create a file /dev/null. So I suggest to change bootchart to copy the existing /dev/null to its tmpfs or mknod one there, and use this. The problematic /dev/null usage is the one in log_output, line 112: eval $cmd 2>/dev/null
Created attachment 184357 [details, diff] Use private /dev/null located in tmpfs This patch should change bootchart to use its own /dev/null for redirecting while sampling.
Please submit upstream if possible and then you can commit it yourself.
Submitted upstream and commited.