Note some deprecations of semi-public APIs and new 'check_timeout()' method in Ubic::Service. I don't think that these changes will hurt anyone, though.
For non-Debian users, it's important to know that ubic-watchdog now requires two more dirs in /var/lib/ubic - /var/lib/ubic/watchdog/lock/ and /var/lib/ubic/watchdog/status/.
They both should be chmod 777 with a sticky bit if you want to conform to default policy and use non-root services.
For Debian/Ubuntu users, upgrade should be automated.
Full changelog:
* Ubic.pm:
- set_ubic_dir() renamed to set_data_dir()
(set_ubic_dir still remains in code for backward compatibility)
- get_data_dir() and get_service_dir() methods
- UBIC_LOCK_DIR, UBIC_TMP_DIR and UBIC_WATCHDOG_DIR env variables are deprecated;
UBIC_DIR variable or set_data_dir() method should be used instead
- bugfix in forked_call() method - it thrown "temp file not found after fork" exception occasionally in some cases
- more consistent params validation in many methods
* ubic-watchdog improvements:
- separate non-blocking per-service lock (http://github.com/berekuk/ubic/issues#issue/1)
- ubic-watchdog can now check selected set of services by name or glob
- ubic-watchdog kills itself after $service->check_timeout() seconds
* deprecated Ubic::Catalog module removed (it was renamed into Ubic::Multiservice long time ago)
PS:
Sawyer X, sorry for adding you to CC.
I thought you might want to know about this update, considering not-completely-trivial upgrade instructions for non-Debian systems.
I'll stop spamming you about new releases if you don't like it :)
--
Vyacheslav Matyukhin
http://github.com/berekuk
http://friendfeed.com/mmcleric
http://berekuk.ru