Page MenuHomePhabricator

IPSec configuration directive deletion fails, causes bad IPSec state on reboot.
Needs testing, NormalPublicBUG

Description

rt02# delete vpn ipsec include-ipsec-conf
[edit]
rt02# commit
[ vpn ]
Can't use string ("VPN configuration error: Ipsec i"...) as an ARRAY ref while "strict refs" in use at /opt/vyatta/share/perl5/Vyatta/Config.pm line 712.
Warning: unable to [start ipsec], received error code 512
 
 
[[vpn]] failed
Commit failed
[edit]

Deletion of this directive fails. If the configuration applied has an error it will cause all VPN directives to disappear from the running config next boot. VPN directives still exist in saved config, but will not be applied. VPN directives can also not be modified until the bad configuration file is removed by hand or /etc/ipsec.conf edited by hand, and the system reboots.

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.2.0-rolling+201805091542
Why the issue appeared?
Will be filled on close

Event Timeline

Watcher7 created this task.May 10 2018, 2:08 AM
Watcher7 updated the task description. (Show Details)
pasik added a subscriber: pasik.May 15 2018, 9:54 PM
syncer assigned this task to c-po.May 27 2018, 9:44 AM
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc1); removed VyOS 1.2 Crux.
syncer changed the task status from Open to Needs testing.Feb 8 2019, 12:01 AM
c-po removed c-po as the assignee of this task.Apr 27 2019, 9:41 AM
c-po added a subscriber: c-po.