diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-03-04 17:11:47 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-03-04 17:11:47 +0000 |
commit | 6b6065b56287cb7436a079761f6e3ffc6c945d98 (patch) | |
tree | f1c65f7998a2fd8604bc2e91524c1303c72c5b2e /debian/vyatta-cfg.vyos-router.service | |
parent | 0cadf4e24f077b08e7a429b080d4329c3f9c61e0 (diff) | |
download | vyatta-cfg-6b6065b56287cb7436a079761f6e3ffc6c945d98.tar.gz vyatta-cfg-6b6065b56287cb7436a079761f6e3ffc6c945d98.zip |
T6088: Fix saving confiugration and replacing fsync with sync
The `fsync` function does not work correctly and if we force reset
the system (sysrq-trigger to emulate power cut) or do "power cut" on
the baremetal server immediately after saving, we will get
the corrupted configuration file `/config/config.boot`
Using `sync` fixes this bug
Diffstat (limited to 'debian/vyatta-cfg.vyos-router.service')
0 files changed, 0 insertions, 0 deletions