FRRouting / frr

The FRRouting Protocol Suite

Home Page:https://frrouting.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

watchfrr: running as root privileged

wiselike opened this issue · comments

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.