Page MenuHomeVyOS Platform

Segmentation Fault in vyatta-op-cmd-wrapper
Closed, WontfixPublic

Description

Hi,

On the VyOs 1.2.0-rolling+201812050337 when running script as admin user no root, with commands vyatta-op-cmd-wrapper ex.
#!/bin/vbash
source /opt/vyatta/etc/functions/script-template
/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper begin
/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper delete firewall group address-group FW_OUT
/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper commit
/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper end

I got error "Segmentation fault" or vyos stops responding.

Best regards
Krzysztof

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

krzysztof_p created this object in space S1 VyOS Public.

noticing this issue in many of our Vyos routers. any clues on when this will be fixed?

pasik added a subscriber: pasik.May 24 2019, 6:19 AM
tjh added a subscriber: tjh.Apr 16 2020, 7:39 PM
dmbaturin closed this task as Wontfix.Thu, Jun 18, 10:15 PM
dmbaturin claimed this task.
dmbaturin added a subscriber: dmbaturin.

Sorry for a very late reply. The script-template already takes care of everything, there is no need to use vyatta-cfg-cmf-wrapper.

#!/bin/vbash
source /opt/vyatta/etc/functions/script-template

delete firewall group address-group FW_OUT
commit
dmbaturin renamed this task from Segmentation Fult vyatta-op-cmd-wrapper to Segmentation Fault in vyatta-op-cmd-wrapper.Thu, Jun 18, 11:32 PM
dmbaturin set Is it a breaking change? to Unspecified (possibly destroys the router).
dmbaturin added a subscriber: MapleWang.