Comment 4 for bug 594827

Revision history for this message
Robert Hardy (rhardy) wrote :

I've rebuilt a deb suitable for inclusion in Universe which fixes this bug. If anyone copied here has an idea how to actually make that happen, please let me know.

My freeipmi_0.7.15-2ubuntu4.dsc based packages are currently in my ppa:rhardy/webconsrp here:
https://launchpad.net/~rhardy/+archive/webconsrp/+packages

You can read the change log for the details, but in summary here are the fixes:

1. Fix configuration file naming in a way which minimal carnage will ensue. i.e. Use freeipmi-bmc-watchdog everywhere.
    Depending on how people hacked things to make the old deb work. This will either pick up their existing configuration options or turn the watchdog off with the default config.

2. Adapt Jamie Jamison's upstart script and package, replacing the broken init.d based script.

3. Correct the logrotate script to use copytruncate. Watchdogs really shouldn't be interrupted for simple logrotation. This also fixes the error with the logrotate script trying to do a condrestart when the init.d script didn't support this.

4. Make sure the watchdog doesn't run by default until it is configured (this wasn't handled by Jamie's upstart script.)

5. Quilt all the patches so others can follow what I did.

Note the upstart script avoids the bmc-watchdog bugs related to quietly dying at start up by using "bmc-watchdog --clear" in two places. These are fixed in freeipmi 1.0.2 but my backporting the fixes caused more issues so my most recent 0.7.15-2ubuntu4 package uses the --clear work around instead.