New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 805594 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

upstart: backport initctl2dot for visualizing init depgraphs

Project Member Reported by kirtika@google.com, Jan 24 2018

Issue description

Write a script that when pointed to /etc/init/ folder in a rootfs
takes lines like:
"stop on starting pre-shutdown"
"start on started boot-services"
and generates a directed acyclic graph (by using graphviz/dot?) of the init dependencies, let you see what runs in parallel etc. 


 
Labels: -Type-Bug Type-Feature
Nice idea!

Comment 2 by vapier@chromium.org, Jan 24 2018

Summary: upstart: backport initctl2dot for visualizing init depgraphs (was: upstart: Add a script to chrome os repo that parses /etc/init/*conf to generate a graph of services)
newer versions of upstart already support this: search for "initctl2dot".  i'm not sure how easy it is to backport though.

Comment 3 by kirtika@google.com, Jan 26 2018

Cc: briannorris@chromium.org
It's just a python script, so hopefully trivial? Except...it's python3. We don't support that language :)

Comment 5 by vapier@chromium.org, Jan 26 2018

i think the sticking point is that it's built on the output of `initctl show-config -e` which our upstart version doesn't support afaict
Cc: -lhchavez@chromium.org

Sign in to add a comment