[Eisfair] BCN Start Meldung

Christoph Schulz fli4l at kristov.de
So Okt 23 21:21:58 CEST 2016


Hallo!

Olaf Jaehrling schrieb:

>> │Another app is currently holding the xtables lock. Perhaps you want to
>> use the -w option?
>> 
>> Was will mir die letzte Zeile sagen? Zumal ich da auch nicht eingreifen
>> kann.
> 
> Das ist das Problem wenn man zu viele iptables-Einträge gleichzeitig
> macht. [...]
> Ich hab aber auch keine Idee, wie ich das bewerkstelligen könnte.

Bei fli4l haben wir das "-w"-Flag standardmäßig im Code aktiviert, so dass 
wir nicht an x verschiedenen Stellen "-w" an iptables übergeben müssen:

diff -purN iptables-1.6.0.orig/iptables/ip6tables.c 
iptables-1.6.0/iptables/ip6tables.c
--- iptables-1.6.0.orig/iptables/ip6tables.c    2015-12-09 
13:55:06.000000000 +0100
+++ iptables-1.6.0/iptables/ip6tables.c 2016-03-21 20:59:30.215588545 +0100
@@ -1324,7 +1324,7 @@ int do_command6(int argc, char *argv[],
        struct in6_addr *smasks = NULL, *dmasks = NULL;
 
        int verbose = 0;
-       int wait = 0;
+       int wait = 1;
        const char *chain = NULL;
        const char *shostnetworkmask = NULL, *dhostnetworkmask = NULL;
        const char *policy = NULL, *newname = NULL;

(Für ip6tables analog.) Siehe 
https://ssl.nettworks.org/svn/fli4l/branches/4.0/trunk/src/packages/src/src/fbr/buildroot/package/iptables/9001-always-wait-for-lock.patch für den kompletten Patch. Das Ganze funktioniert 
aber nur mit iptables >= 1.4.20; ich weiß leider nicht, was bei eisfair-1 
momentan aktuell ist.


Viele Grüße,
-- 
Christoph Schulz
[fli4l-Team]


Mehr Informationen über die Mailingliste Eisfair