Bug 516273 - on upgrade collectd is not restarted
Summary: on upgrade collectd is not restarted
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: collectd
Version: rawhide
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Alan Pevec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-07 18:03 UTC by Florian La Roche
Modified: 2009-09-15 07:48 UTC (History)
5 users (show)

Fixed In Version: 4.5.4-2.fc11
Clone Of:
Environment:
Last Closed: 2009-09-15 07:48:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Florian La Roche 2009-08-07 18:03:41 UTC
Description of problem:

If you upgrade collectd to a newer rpm, the daemon is not automatically
restarted.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Alan Pevec 2009-08-10 23:06:17 UTC
There is
%postun
/sbin/service collectd condrestart &>/dev/null || :

which is probably silently failing for you.
Could you try rebuilding RPM without this error redirection and capture the error message?

Comment 2 Alan Pevec 2009-08-10 23:45:43 UTC
/etc/init.d/collectd: line 57: restart: command not found

Comment 3 Fedora Update System 2009-08-11 23:04:56 UTC
collectd-4.5.4-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/collectd-4.5.4-2.fc11

Comment 4 Fedora Update System 2009-08-12 20:52:31 UTC
collectd-4.5.4-2.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update collectd'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8503

Comment 5 Fedora Update System 2009-09-15 07:48:01 UTC
collectd-4.5.4-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.