Config sync doesn't remove the last alias on the slave
If I setup two systems with carp sync and create an alias, it will sync correctly with the slave, but when I remove it on the master, it won't remove from the slave. It only happens when I remove the last alias on the master, if there was more than one alias, then it also gets removed from the slave.
#2 Updated by Jim Pingle almost 9 years ago
If you are talking about an Alias as in Firewall > Aliases, I can't reproduce this. If I delete the last one on the master, it also deletes from the slave.
The entire array of aliases on the slave is overwritten with the copy from the master, so there isn't a way that the last one is any more significant than others in the list that I can see.
We may need to see the aliases section of your config to try reproducing the issue.
#3 Updated by Thiago Witt almost 9 years ago
Yes, I was talking about Firewall > Aliases.
I don't know if I was clear in my first message, by "last alias" I meant "the last one left", i.e. when there is only one alias, not "the bottom one from the list".
When there is more than one alias created and I delete any one of them, it also deletes from the slave, the problem is when there is only one left.
Tomorrow I'll be able to post my aliases section here, I don't have it right now.