Page MenuHomeVyOS Platform

Config commits are not synced properly because 00vyos-sync is deleted by vyos-router
Closed, ResolvedPublicBUG


It turns out that in /etc/commit/post-hooks.d/ there should exist a file named 00vyos-sync to take care of syncing to storage during commits.

However that file is deleted upon boot by vyos-router.

The file exists in the 'filesystem.squashfs` (verified through sudo find / -iname "00vyos-sync") but is deleted through the overlay filesystem during boot by vyos-router which makes it not visible when looking at /etc/commit/post-hooks.d/ (and therefor no syncing is done when commiting config changes).

The error is located at

excluded=" 99vyos-user-postcommit-hooks"

The fix is that the above line should read:

excluded="00vyos-sync 99vyos-user-postcommit-hooks"


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