networkd: IP masquerading with unclear error log message
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 40/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c, linux
- Ambito
- networking
Direzione di ricerca
Start from the log lines in the issue and the IPMasquerade=ipv4 setting in 80-container-mycont1.network, then find where systemd-networkd emits "Could not enable IP masquerading" and which call returns ENOENT. Reproduce by starting an nspawn container with that network file on a kernel with the modules built in. Done means either the message is correctly reworded or made debug-only when masquerading is already active, or the root cause is identified and documented.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
systemd version the issue has been seen with
262.1
Used distribution
Gentoo
Linux kernel version used
6.18.60
CPU architectures issue was seen on
x86_64
Component
systemd-networkd
Expected behaviour you didn't see
To setup nspawn containers I configure IPMasquerade=ipv4 in 80-container-mycont1.network on the host. All kernel modules are compiled-in and nft can properly configure masquerading in POSTROUTING, too. So, when the machine is started by machinectl start mycont1 I expect a clean startup.
Unexpected behaviour you saw
During machine startup it logs multiple times: Could not enable IP masquerading: No such file or directory.
It is unclear what is triggering this output and what to fix. Masquerading seems to work. Should this message be ignored?
Note: I have all kernel modules compiled-in (no dynamic loading enabled), ipv6 entirely removed. There is no iptables, only nft.
Note: There is a similar issue but using dynamic module loading.
Steps to reproduce the problem
No response
Additional program output to the terminal or log subsystem illustrating the issue
systemd-networkd[2784]: ve-mycont1: Could not enable IP masquerading: No such file or directory
systemd-networkd[2784]: ve-mycont1: Failed
systemd-networkd[2784]: ve-mycont1: Trying to reconfigure the interface.
systemd-networkd[2784]: ve-mycont1: Reconfiguring with /etc/systemd/network/80-container-mycont1.network.
- Lingua principale
- C
- Stelle
- 17k
- Fork
- 4.8k
- Merge medio
- 2g 10h
- PR unite (30g)
- 342
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di systemd/systemd
-
login
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
hwdb needs-patch
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
systemd/systemd#44825 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
cryptsetup
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
documentation pid1
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno
-
needs-better-log-message network RFE 🎁
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
systemd/systemd#44563 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di systemd/systemd
Issue simili
-
[compiler-rt][ASan][Darwin] dispatch_apply_f interceptor leaks its context (24 bytes per call)Apertacompiler-rt:asan
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
llvm/llvm-project#242921 ·
I maintainer di solito rispondono entro 1 giorno
-
Missing gcc __builtin_stdc_bit_width/floor/ceil signature makes intellisense wrongly report error 70Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
microsoft/vscode-cpptools#14874 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
FujiNetWIFI/fujinet-firmware#2401 ·
I maintainer di solito rispondono entro 1 giorno
-
[simdutf] update to 9.4.0Apertacategory:port-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
polish
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ChupathingyCE/chupathingyce#1366 ·
I maintainer di solito rispondono entro 1 giorno