Bug 223949
| Summary: | postuninstall calls initscript with unimplemented condrestart option | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomas Hoger <thoger> |
| Component: | heartbeat | Assignee: | Kevin Fenzi <kevin> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6 | CC: | kevin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-06-28 03:28:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 213321 | ||
The script was changed to call "restart" instead which is incorrect too: http://www.redhat.com/archives/fedora-extras-list/2007-February/msg00115.html I would agree... I suspect the right thing to do would not be any restarting at all. When applying an update to a heartbeat cluster, you don't want it to stop heartbeat and cause a failover in the middle of updates. I will take a deeper look next week... I am taking over the heartbeat package, so re-assigning this to me to look at. Sorry for the big delay here. ;( I have removed the restart entirely in 2.0.8-3.fc8. I don't think we want to restart on upgrade as that will (or can) cause a unplanned failover. If everything looks good in fc8 I will push f7 and fc6 updates soon. I am going to close this out now. If anyone disagrees, or has better ideas, feel free to re-open this or file a new bug. Thanks for the report! |
Description of problem: postuninstall script calls heartbeat init script with option condrestart: # rpm -q --scripts heartbeat [ ... ] postuninstall scriptlet (using /bin/sh): if [ "$1" -ge "1" ] ; then /sbin/service heartbeat condrestart fi However, condrestart is not supported by script: # /sbin/service heartbeat condrestart Usage: /etc/init.d/heartbeat {start|stop|status|restart|reload|force-reload} Version-Release number of selected component (if applicable): heartbeat-2.0.8-1.fc6 How reproducible: Upgrade heartbeat package.