Hello community, here is the log from the commit of package rubygem-webyast-status for openSUSE:Factory checked in at 2013-03-08 21:17:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-status (Old) and /work/SRC/openSUSE:Factory/.rubygem-webyast-status.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-webyast-status", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-webyast-status/rubygem-webyast-status.changes 2013-02-05 13:14:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-webyast-status.new/rubygem-webyast-status.changes 2013-03-08 21:17:32.000000000 +0100 @@ -1,0 +2,18 @@ +Fri Feb 22 07:54:43 UTC 2013 - [email protected] + +- (re)start collect after package installation (bnc#792841) +- 0.3.16 + +------------------------------------------------------------------- +Fri Feb 15 09:49:41 UTC 2013 - [email protected] + +- fixes for status REST API (BNC#789343) + +------------------------------------------------------------------- +Thu Feb 14 12:56:46 CET 2013 - [email protected] + +- Using more precise scale for Y axis for Network and Disk graphs + (bnc#798322) +- 0.3.15 + +------------------------------------------------------------------- Old: ---- webyast-status-0.3.14.gem New: ---- webyast-status-0.3.16.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-webyast-status.spec ++++++ --- /var/tmp/diff_new_pack.9Z09qn/_old 2013-03-08 21:17:33.000000000 +0100 +++ /var/tmp/diff_new_pack.9Z09qn/_new 2013-03-08 21:17:33.000000000 +0100 @@ -17,7 +17,7 @@ Name: rubygem-webyast-status -Version: 0.3.14 +Version: 0.3.16 Release: 0 %define mod_name webyast-status %define mod_full_name %{mod_name}-%{version} @@ -29,6 +29,7 @@ BuildRequires: rubygem-restility BuildRequires: webyast-base >= 0.3.31 BuildRequires: webyast-base-testsuite + PreReq: webyast-base >= 0.3.31 # /usr/bin/pgrep @@ -136,18 +137,33 @@ # check status_configuration.yaml bnc#636616 # ruby %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/lib/configcheck.rb +ruby %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/lib/update_config.rb # -# set "Hostname" to WebYaST and remove already generated old log files +# set "Hostname" to WebYaST # -sed -i "s/^#Hostname[[:space:]].*/#If you change hostname please delete \/var\/lib\/collectd\/WebYaST\nHostname \"WebYaST\"/" "/etc/collectd.conf" -rm -rf /var/lib/collectd/* +grep -q "^Hostname[ \t]*\"WebYaST\"" /etc/collectd.conf +if [ $? = 1 ] ; then + WARNING="# If you change hostname please delete /var/lib/collectd/WebYaST" + sed -i "s@^#Hostname[[:space:]].*@$WARNING\nHostname \"WebYaST\"@" /etc/collectd.conf + + # We need to remove old logs because Webyast displays the first found log + # which could be accidentally the old (no longer) updated log. + # + # FIXME: find the latest database in webyast instead of complete removal here + # + # The removal might accidentaly fail if collectd is running and writes a log during removal, + # it would be a good idea to stop it first but unfortunately also stopping sometimes fails + # and that would cause build failure during RPM build :-( + rm -rf /var/lib/collectd/* +fi # -# enable and restart collectd if it running +# enable and restart collectd # +# FIXME: move collectd handling to webyast initscript or to WebUI %{fillup_and_insserv -Y collectd} -rccollectd try-restart +rccollectd restart %restart_webyast -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
