Bug 557513 - Corosync doesn't shutdown if iptables service is on
Summary: Corosync doesn't shutdown if iptables service is on
Keywords:
Status: CLOSED DUPLICATE of bug 576000
Alias: None
Product: Fedora
Classification: Fedora
Component: corosync
Version: 13
Hardware: All
OS: All
low
low
Target Milestone: ---
Assignee: Jan Friesse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 600479
TreeView+ depends on / blocked
 
Reported: 2010-01-21 17:00 UTC by Jan Friesse
Modified: 2010-07-21 15:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-07-21 15:19:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Friesse 2010-01-21 17:00:57 UTC
Description of problem:
Corosync doesn't shutdown if iptables service is on.

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

How reproducible:
Install default Fedora 12 (Rawhide) and keep iptables service running. Then run corosync and try it shutdown. Corosync will still try to make consensus and never end.

Steps to Reproduce:
1. Install default Fedora 12 (Rawhide)
2. Run corosync -f
3. Ctrl+C or kill -TERM (PID_OF_COROSYNC)
  
Actual results:
Corosync will never end.

Expected results:
Corosync will end.

Additional info:
Tracking bug. Main problem is, that schedwrk is used for shutdown of IPC. But because schedwrk is driven by Totem, and Totem doesn't have consensus (it is not in operational state), schedwrk callback function for shutdown will be never called.

One of solution could be to put after corosync_service_unlink_all call in main.c sleep (default/configurable value) and after that, exit (some error). This has one problem: what is good default value?

Solution should work correctly, because call is in thread, so:
- if regular shutdown sewuence works -> no problem
- if it doesn't -> exit with error

Comment 1 Bug Zapper 2010-03-15 14:10:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle.
Changing version to '13'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Steven Dake 2010-07-21 15:19:40 UTC

*** This bug has been marked as a duplicate of bug 576000 ***


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