[systemd-devel] [PATCH] bootchart: ship a configuration that will boot without sysvinit compat

Gabriel de Perthuis g2p.code at gmail.com
Sat Dec 27 05:57:22 PST 2014


bootchart defaults to chaining to /sbin/init, which is sensible,
but in a pure systemd environment (without systemd-sysvinit)
will make the machine unbootable.

Change the default through /etc/systemd/bootchart.conf.
Keep the /sbin/init default in the source code, in case
some users rely on that.
---
 src/bootchart/bootchart.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bootchart/bootchart.conf b/src/bootchart/bootchart.conf
index c73328f..61ba0c1 100644
--- a/src/bootchart/bootchart.conf
+++ b/src/bootchart/bootchart.conf
@@ -14,11 +14,11 @@
 #Samples=500
 #Frequency=25
 #Relative=no
 #Filter=yes
 #Output=<folder name, defaults to /run/log>
-#Init=/path/to/init-binary
+Init=/usr/lib/systemd/systemd
 #PlotMemoryUsage=no
 #PlotEntropyGraph=no
 #ScaleX=100
 #ScaleY=20
 #ControlGroup=no
-- 
2.2.0.71.g3365589



More information about the systemd-devel mailing list