-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unable to disable vtysh compilation (compilation from source) #15752
Comments
From my perspective vtysh is a required component. We should disable the ability to turn this off. |
For cyber security requirement, we may need to remove every binaries that are not drastically required from the package we deliver. |
That's hard to understand (at least for me). If you ever reported a problem, the first things you'd be asked for would be show output, and debug output. At this time, it's pretty hard to imagine operating FRR without vtysh. You might choose not to deliver the vtysh binary with all of your deployments - but it's hard to understand building FRR without cli support. |
If you are currently using per-daemon configs ( |
I just pointed out a compilation configuration issue. If this configure option is non sense, one way to fix the issue may be to simply remove the configure option. |
Well working with FRR is beyond just loading config. Hence the questions from our side about how do you plan to debug/fix issues on the network when they arrive without vtysh? That is why we consider it integral. Frankly I'm not surprised that the configure option fails to work properly, although I personally am not going to be bothered to submit a fix to disable that command in configure, I would not be opposed to someone else doing the work. |
It looks like the 'disable-vtysh' is used when cross-compiling, when the clippy tool is being built. That may be a construction of David L's - is it still necessary? or could we make changes to the 'clippy-only' path so that we could remove 'disable-vtysh' ? |
The construct as a whole is still necessary, autoconf can't build a host tool in the same "wash" as target binaries.
This can be done but would mean piling more hacks on top of hacks :( … |
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] openwrt#24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] openwrt#24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] openwrt#24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] openwrt#24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] openwrt#24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] openwrt#24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] #24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] openwrt#24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] openwrt#24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
This issue is stale because it has been open 180 days with no activity. Comment or remove the |
This issue will be automatically closed in the specified period unless there is further activity. |
Description
fails with:
Version
How to reproduce
Expected behavior
Succesfull compilation
Actual behavior
Failed compilation
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: