dynolog icon indicating copy to clipboard operation
dynolog copied to clipboard

no obvious way to launch on kernel with ipv6 disabled

Open tryauuum opened this issue 1 year ago • 1 comments

root@transformer-model-inference:~# cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-5.4.0-152-generic root=UUID=760ef146-37b2-4fe1-ba27-cc52ddebc7c7 ro ipv6.disable=1 console=tty1 console=ttyS0
root@transformer-model-inference:~# dynolog 
I20230918 12:52:05.305244 1843052 Main.cpp:151] Starting dynolog, version = 0.2.1, build git-hash = 
I20230918 12:52:05.305972 1843053 Main.cpp:82] Running kernel monitor loop : interval = 60 s.
socket(): Address family not supported by protocol
I20230918 12:52:05.308105 1843052 SimpleJsonServer.cpp:229] Launching RPC thread

It's mostly normal for programs to not work without IPv6, but it would be nice to have an option to select IP to listen on.

tryauuum avatar Sep 18 '23 12:09 tryauuum

Sorry about the delay, yes this could be addressed. The server logic is fairly simpe, i think this part needs updating on IPv4 https://github.com/facebookincubator/dynolog/blob/main/dynolog/src/rpc/SimpleJsonServer.cpp#L34-L52

briancoutinho avatar Nov 15 '23 07:11 briancoutinho