Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watchfrr prints to the wrong shell #18276

Open
2 tasks done
Hallborg opened this issue Feb 27, 2025 · 0 comments
Open
2 tasks done

watchfrr prints to the wrong shell #18276

Hallborg opened this issue Feb 27, 2025 · 0 comments
Labels
triage Needs further investigation

Comments

@Hallborg
Copy link

Description

I'm running a docker container with FRR installed. For some reason the watchfrr is always writing to the first shell that is connected.

The issue is that the frrinit.sh start | stop | reload does not work when running from any other shell.

Version

The test was performed on 8.4.4, but I have the same behavior on 10.2.1

How to reproduce

deploy a container with frr

docker run -it <img> sh

start a new shell

docker exec -it <container name> sh

Inside the second shell, start the frr service

It does not have to be a shell, using
docker run -it <img> top
will have the same result.

Expected behavior

when connecting to the second shell all output from watchfrr should go to that shell.

Actual behavior

The watchfrr output is printed to the first shell. (on PID 1)

Image

Additional context

I'm aware that this might be a docker/docker config issue and not an FRR issue.

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.
@Hallborg Hallborg added the triage Needs further investigation label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs further investigation
Projects
None yet
Development

No branches or pull requests

1 participant