Menu

#10 No user control over 'exit' (stop) process names

v0.1
open
nobody
None
5
2013-09-12
2013-09-12
Matt
No

In latest SVN revision at time of writing, the 'exit' (ie stop-logging) process names are open-coded into the bootlogd shell script. This makes it difficult to do what we want to do - measure time to mount a filesystem (which is mounted from rc.local). The host that will run bootchart doesn't run X, so doesn't have GDM etc installed.

We could work around this by making a shell script named 'gdm-greeter' and running that from rc.local, but I find that really ugly.

A better way would be to add some new variable(s) to the configuration file, allowing user control over the list of exit process name(s).
However, I am not yet sure how to make this play nicely with the script's current behaviour, where it 'knows' that if early login is enabled, it should instead look for mingetty, agetty etc.

I have attached an ugly, untested and incomplete patch to show what I'm thinking.

1 Attachments

Discussion


Log in to post a comment.

Auth0 Logo