Summary: | net-firewall/iptables-1.4.20 - /etc/init.d/iptables: Another app is currently holding the xtables lock. Perhaps you want to use the -w option? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petr Pisar <petr.pisar> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sbraz |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch for /etc/init.d/iptables |
Description
Petr Pisar
2014-02-18 19:20:25 UTC
Created attachment 370892 [details, diff]
Patch for /etc/init.d/iptables
This patch implements the change in the init script.
should be fixed in 1.4.21-r2 http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a2f5aa3b111e62f52fcd3f66f763293f24871b Re-opening this because the issue is still present, apparently because iptables-restore also needs that -w option: ip6tables |+ '[' '!' -f /var/lib/ip6tables/rules-save ']' ip6tables |+ return 0 ip6tables |+ ebegin 'Loading ip6tables state and starting firewall' iptables | * Loading iptables state and starting firewall ... ip6tables | * Loading ip6tables state and starting firewall ... ip6tables |+ /sbin/ip6tables-restore -c ip6tables |Another app is currently holding the xtables lock. Perhaps you want to use the -w option? ip6tables |+ eend 4 [ !! ] ip6tables |+ exit 4 FYI: You could have used SAVE_RESTORE_OPTIONS already. But incoming patch. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdc003118830087bbb409761fe4e0e2c19ea103a commit cdc003118830087bbb409761fe4e0e2c19ea103a Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-11-20 15:36:22 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-11-20 15:36:38 +0000 net-firewall/iptables: multiple fixes for runscript - We are now passing iptables "--wait" option to every iptables command which needs to aquire a lock. [Bug 501710] - In addition, "--wait" (IPTABLES_LOCK_WAIT_TIME) and "--wait-interval" (IPTABLES_LOCK_WAIT_INTERVAL) is now configurable via /etc/conf.d/{iptables,ip6tables}. - We are now only installing one runscript and now using a symlink for the ip6tables runscript. - Error detection improved/added. Closes: https://bugs.gentoo.org/501710 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-firewall/iptables/files/ip6tables-r1.confd | 27 +++++ net-firewall/iptables/files/iptables-r1.confd | 27 +++++ net-firewall/iptables/files/iptables-r1.init | 159 +++++++++++++++++++++++++ net-firewall/iptables/iptables-1.8.2-r1.ebuild | 129 ++++++++++++++++++++ 4 files changed, 342 insertions(+) |