~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] Fix race condition between docker and iptables

Details
Message ID
<20210426234924.187137-1-wolf@wolfsden.cz>
DKIM signature
missing
Download raw message
Patch: +1 -1
When the system is booting, the order of docker and iptables was not
specified due to the missing dependency. That could lead to docker
setting up the chains and iptables wiping them clean if the order of
start was 1. docker 2. iptables.

Explicit dependency should make that working correctly.
---
 community/docker/docker.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/community/docker/docker.initd b/community/docker/docker.initd
index aa35285223..28bec90797 100644
--- a/community/docker/docker.initd
+++ b/community/docker/docker.initd
@@ -19,7 +19,7 @@ rc_ulimit="${DOCKER_ULIMIT:--c unlimited -n 1048576 -u unlimited}"
retry="${DOCKER_RETRY:-TERM/60/KILL/10}"

depend() {
	need sysfs cgroups
	need sysfs cgroups iptables ip6tables
}

start_pre() {
-- 
2.31.1
Reply to thread Export thread (mbox)