Open ggari-robotnik opened 2 weeks ago
Is this a docker specific issue? Does it also happen with deb binaries created outside of docker?
Hi, Have no idea since what could happen on the host system. But I think that since I will use it in bash console the problem will be absent.
I had similar issues when running ros2 run rmw_zenoh_cpp rmw_zenohd&
on my normal pc.
When I pop it out from the background, nodes started connecting to it again. Might be related.
This also happens when I try to start the daemon via a launch file:
<launch>
<node pkg="rmw_zenoh_cpp" exec="rmw_zenohd" output="screen" shell="true" emulate_tty="true" />
</launch>
[INFO] [rmw_zenohd-1]: process started with pid [42980]
[rmw_zenohd-1] Started Zenoh router with id 2d9a65a78571c0406d116095c0c1b422.
[rmw_zenohd-1] terminate called after throwing an instance of 'std::runtime_error'
[rmw_zenohd-1] what(): Failed to get old console mode
[rmw_zenohd-1] Aborted (core dumped)
Description of the Issue
I just created a container where rmw_zenoh deb packages are created and installed on the container.
Here is my compose file where the router works fine:
If run the container without
tty:true
The output:
my entrypoint file is the following:
Operating System
OS: Ubuntu 22.04 Docker version: CE 26.1.3 Container Ros Version: Iron RMW Zenoh version: rolling branch (commit: 7609e413af380182985ce52b8946a8ec598e7f60)