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

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

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.Jun 18 2020, 11:32 PM
dmbaturin set Is it a breaking change? to Unspecified (possibly destroys the router).
dmbaturin added a subscriber: MapleWang.