mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
netopeer2 and rousette were starting as soon as confd had a PID, while confd was still loading the startup config via sr_replace_config(). This held a write lock on the running datastore. A test calling test/reset shortly after the NETCONF port opened would have its own sr_replace_config() block on that lock for up to 60 s, at which point sysrepo timed out the whole RPC with "SHM event 'rpc' processing timed out". Fix by adding the usr/bootstrap condition to both management servers so they don't accept connections until confd signals that bootstrap is complete. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>