On Tue, Feb 20, 2007 at 02:05:46PM +0100, Ziga Mahkovec wrote:

> 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?

No. I added some extra log output, and it does execute start(), it does
not sleep in the while loop you suggested, so I guess at that moment
/dev/null is writeable, but it fails later on anyway.

After booting a few times I noticed that it sometimes works OK, but most
of the time it doesn't. I guess it's caused by udev mounting a tmpfs
over /dev, which makes /dev empty for a short interval. Perhaps you
should create a copy of /dev/null to a safe place in the postinst
script? Not very nice, I agree.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to