Bug #3078

Task running forever

Added by Filippo Carletti over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.6
Security class: Resolution:
Affected version:v6.5 NEEDINFO:No

Description

After the change of a setting, the server-manager interface starts the reconfiguration task, but it never ends.
Checking the process list I found:

27556 ?        S      0:12  \_ /usr/sbin/httpd-admin -f /etc/httpd/admin-conf/httpd.conf
 4521 ?        S      0:00  |   \_ /usr/bin/python /usr/libexec/nethserver/ptrack -j -s /var/run/ptrack/473a7079d2f192505dbfd56fa3500934.sock -d /var/spool/ptrack/e0dc6bc09e9a7fe7.dump -v -- /usr/bin/sudo -n /sbin/e-smith/signal-event nethserver-webvirtmgr-save
 4522 ?        S      0:00  |       \_ /usr/bin/sudo -n /sbin/e-smith/signal-event nethserver-webvirtmgr-save
 4523 ?        S      0:00  |           \_ /usr/bin/perl -w /sbin/e-smith/signal-event nethserver-webvirtmgr-save
 4529 ?        S      0:00  |               \_ /usr/bin/perl /etc/e-smith/events/nethserver-webvirtmgr-save/S80firewall-adjust nethserver-webvirtmgr-save
 4532 ?        S      0:00  |                   \_ /bin/bash /etc/e-smith/events/lokkit-save/S20lokkit-apply lokkit-save nethserver-webvirtmgr-save
 4533 ?        S      0:00  |                       \_ /usr/bin/python /usr/sbin/lokkit --update
 4608 ?        S      0:00  |                           \_ sh -c /sbin/service ip6tables stop >/dev/null 2>&1
 4609 ?        S      0:00  |                               \_ /bin/sh /sbin/service ip6tables stop
 4614 ?        S      0:00  |                                   \_ /bin/sh /etc/init.d/ip6tables stop
 4669 ?        R    378:22  |                                       \_ modprobe -r xt_state

It seems a kernel or modprobe bug.

Associated revisions

Revision 10fb1898
Added by Giacomo Sanchietti over 6 years ago

lokkit: add template for /etc/sysconfig/iptables-config. Refs #3078

Revision e37ede71
Added by Giacomo Sanchietti over 6 years ago

lokkit: move template to the right position. Refs #3078

Revision 1cc668b0
Added by Giacomo Sanchietti over 6 years ago

lokkit: really fix template path. Refs #3078

Revision 167c0130
Added by Giacomo Sanchietti over 6 years ago

lokkit: really fix template path. Refs #3078

History

#1 Updated by Filippo Carletti over 6 years ago

Workaround: patch iptables (lokkit) avoiding restart with this patch:

--- iptables-config    2015-03-05 10:24:43.518072268 +0100
+++ /etc/sysconfig/iptables-config    2015-03-05 10:25:05.205187112 +0100
@@ -10,7 +10,7 @@
 # This option has to be 'yes' to get to a sane state for a firewall
 # restart or stop. Only set to 'no' if there are problems unloading netfilter
 # modules.
-IPTABLES_MODULES_UNLOAD="yes" 
+IPTABLES_MODULES_UNLOAD="no" 

 # Save current firewall rules on stop.
 # Value: yes|no, default: no

#2 Updated by Filippo Carletti over 6 years ago

Another workaround is to install nethserver-firewall-base which uses shorewall.

#3 Updated by Davide Principi over 6 years ago

  • Target version set to v6.6

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Category set to nethserver-base
  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#6 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#7 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-base-2.6.5-1.4.g10fb189.ns6.noarch.rpm
  • nethserver-base-2.6.5-1.7.ge37ede7.ns6.noarch.rpm
Test case
  • Check the bug is not reproducible

#8 Updated by Davide Principi over 6 years ago

  • Status changed from ON_QA to TRIAGED
  • % Done changed from 70 to 20

Wrong path! Try again!

#9 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#10 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

I hope to hit the target this time....

#11 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-base-2.6.5-1.11.g1cc668b.ns6.noarch.rpm

#12 Updated by Davide Principi over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

VERIFIED

#13 Updated by Davide Principi over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

CLOSED
In nethserver-updates:
nethserver-base-2.7.0-1.ns6.noarch.rpm

Also available in: Atom PDF