1.30 release - watchdog improvements, robust improvements, and new manuals

5 views
Skip to first unread message

Vyacheslav Matyukhin

unread,
Jun 27, 2011, 6:44:29 PM6/27/11
to ubic...@googlegroups.com
1.30 release just went out to CPAN.
 
First, watchdog now REstarts the service, instead of trying to start it. It is important for all services with non-trivial status checks.
Also, watchdog now is much faster for non-root services - it doesn't fork several times to change credentials, just sets them once per service.
 
Second, all status and pid file updates now use new Ubic::AtomicFile module, which does rename and fsync in a common, secure fashion. See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/317781/comments/54 to learn why this is necessary. (Previous releases already did tmp file + rename trick, but didn't call fsync in all cases.)
 
Third and maybe most important in the long term improvement is that ther are more docs!
Now we have Ubic::Manual::Intro, Ubic::Manual::Overview and Ubic::Manual::Multiservices.
Also, Ubic::Service::SimpleDaemon POD is now much more sane.
 
Enjoy!

Матюхин Вячеслав

unread,
Jun 30, 2011, 5:50:13 AM6/30/11
to ubic...@googlegroups.com
I just uploaded 1.31 hotfix, setup didn't work in 1.30.
I really should write tests for "ubic-admin setup" procedure.
 
28.06.2011, 02:44, "Vyacheslav Matyukhin" <m...@berekuk.ru>:
Reply all
Reply to author
Forward
0 new messages