Odd behaviour in container with AutoInterface
#706
Replies: 4 comments 1 reply
-
This probaby is some Docker problem, or Will see how this goes... |
Beta Was this translation helpful? Give feedback.
-
Interesting, that seems to do the job. I wonder though, it does feel like something that should be handled. I'll give the code a look to see what I can find. It must be some call being made in |
Beta Was this translation helpful? Give feedback.
-
Thanks @deavmi! Looking forward to hearing what you find. |
Beta Was this translation helpful? Give feedback.
-
I had a problem seeing logs while trying to run under systemd, which turned out to be buffering of the logs. See my PR #698 -Kevin |
Beta Was this translation helpful? Give feedback.
-
Interesting thing I noticed. Previously I was able to containerize and instance of
rnsd
with anAutoInterface
enabled, but now it seems to cause a crash on startup of the container.Problem is that I have logging set to as high as possible but Docker shows no logs when the failure occurs at all. Just that the process
rnsd
exited with255
exit code (and sometimes with0
).It's odd as I had this working perfectly a few versions back I think, but even changing that doesn't seem to help. I have tested it on different Docker hosts and it seems only the original one I tested it on still works - other than that a little lost. But this may have been a case of a slow Docker host that just "made it work" by chance.
Any advice of how I could maybe try get some more debugging information out of this? I know for a fact that if I run some other
CMD
for the container and thendocker exec
into the container and startrnsd
there then it seems to work. --- This leads me to think maybe something isn't fully initialised prior tornsd
starting (maybe container network interfaces or something) - as now and then (infrequently) the container will launch correctly.Beta Was this translation helpful? Give feedback.
All reactions