Skip to content

Commit 4b5a9bf

Browse files
fix: memberlist-kv startup error (#42)
Prevent Podman 5's Pasta port handler from configuring a network stack that causes Loki startup errors. The previous rootlesskit port handler always set up a tap0 interface with a private IP address, which appears to be required for Loki 3.4 to start correctly. Pasta, instead, assigns the same IP and name as the main host interface, leading to unpredictable results. As Debian 12 with Podman 4 has no Pasta implementation, this fix avoids using Pasta completely. Refs NethServer/dev#7426
1 parent b864129 commit 4b5a9bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

imageroot/systemd/user/loki.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ExecStartPre=/usr/bin/podman pod create \
1313
--infra-conmon-pidfile %t/loki.pid \
1414
--pod-id-file %t/loki.pod-id \
1515
--name loki \
16+
--network=slirp4netns:port_handler=rootlesskit \
1617
--publish ${LOKI_HTTP_PORT}:8080 \
1718
--replace
1819
ExecStart=/usr/bin/podman pod start --pod-id-file %t/loki.pod-id

0 commit comments

Comments
 (0)