Page MenuHomeVyOS Platform

Cannot delete PBR
Closed, ResolvedPublicBUG

Description

VyOS 1.2.5 and Latest rolling

Add policy PBR and delete it.

[email protected]#  set policy route PBR rule 10 set mark 50
[edit]
[email protected]# commit
[edit]
[email protected]# delete policy 
[edit]
[email protected]# commit
[ policy route PBR ]
rm: cannot remove ‘/var/run/vyatta_policy_ref’: No such file or directory

[edit]
[email protected]#
[email protected]# run show version 
Version:          VyOS 1.2.5

Latest rolling.

sever@r-roll01# set policy route PBR rule 10 set mark 50
[edit]
sever@r-roll01# commit
[edit]
sever@r-roll01# delete policy 
[edit]
sever@r-roll01# commit
[ policy route PBR ]
rm: cannot remove '/var/run/vyatta_policy_ref': No such file or directory

[edit]
sever@r-roll01# run show version 
Version:          VyOS 1.3-rolling-202004160133

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202004160133
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav claimed this task.

Was fixed with https://phabricator.vyos.net/R6:0ecfe5a6d11065388714b0ef21de532f88774357 and T1241

vyos@r1-roll# set policy route PBR rule 10 set mark 50
[edit]
vyos@r1-roll# commit
[edit]
vyos@r1-roll# delete policy 
[edit]
vyos@r1-roll# commit
[edit]
vyos@r1-roll# set policy route PBR rule 10 set mark 50
[edit]
vyos@r1-roll#
erkin renamed this task from Delete PBR vyatta_policy_ref to Cannot delete PBR.Aug 30 2021, 7:01 AM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.