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: running as root privileged #16016

Closed
2 tasks done
wiselike opened this issue May 15, 2024 · 0 comments
Closed
2 tasks done

watchfrr: running as root privileged #16016

wiselike opened this issue May 15, 2024 · 0 comments
Labels
triage Needs further investigation

Comments

@wiselike
Copy link

Description

All programs running under the user 'frr', except for the 'watchfrr' program is 'root'. Is this a bug? I believe the 'frr' user should be sufficient to control and restart other daemons.

Version

frr9.1

How to reproduce

[root@host-22 ~]# ps aux | grep frr
root      2808  0.0  0.1 852668 10076 ?        Ss   22:22   0:00 /usr/lib/frr/watchfrr -d -F traditional zebra mgmtd ospfd staticd
frr       2842  0.0  0.2 1244120 18660 ?       Ssl  22:22   0:00 /usr/lib/frr/zebra -d -F traditional -A 127.0.0.1 -P 0 -s 90000000 -f /etc/frr/zebra.conf
frr       2854  0.0  0.1 1241964 10596 ?       Ss   22:22   0:00 /usr/lib/frr/mgmtd -d -F traditional -A 127.0.0.1 -P 0
frr       2868  0.0  0.2 1242184 17176 ?       Ss   22:22   0:00 /usr/lib/frr/ospfd -d -F traditional -A 127.0.0.1 -P 0 -f /etc/frr/ospfd.conf
frr       2892  0.0  0.1 1239388 11188 ?       Ss   22:22   0:00 /usr/lib/frr/staticd -d -F traditional -A 127.0.0.1 -P 0

Expected behavior

All programs running under the user 'frr'.

Actual behavior

watchfrr is root privileged.

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.
@wiselike wiselike added the triage Needs further investigation label May 15, 2024
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