On Tue, 2007-02-20 at 12:23 +0100, Guus Sliepen wrote:
> Please apply the same fix to the Debian package, or remove the
> bashisms from the script.

I recently got a similar report[1], but didn't get enough information to
get to the bottom of this (and I don't have access to a dash-based
system).  Basically, bootchartd runs fine on dash when profiling a
running system.  So this might not be a bashism problem, but something
about the peculiar environment of a booting system.

Not being able to write to /dev/null could imply a timing problem.
Could you please try adding the following to /sbin/bootchartd, at the
start of the start() function (line 41):

   while [ ! -w /dev/null ]; do sleep $SAMPLE_PERIOD; done

Does this help?


Thanks!
-- 
Ziga

[1] http://sourceforge.net/forum/forum.php?thread_id=1668227&forum_id=423921



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to