diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-25 19:35:07 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-25 21:29:34 +0200 |
commit | 74e07b33b05f6a7a7124f6e3a27fcd228837264e (patch) | |
tree | f0e5fa8a5e7b744cf52d11e401e246d734830c19 /.pylintrc | |
parent | Merge pull request #32484 from DaanDeMeyer/mkosi-ci (diff) | |
download | systemd-74e07b33b05f6a7a7124f6e3a27fcd228837264e.tar.xz systemd-74e07b33b05f6a7a7124f6e3a27fcd228837264e.zip |
sd-daemon: Set SO_LINGER on AF_VSOCK notify socket fds
We're still seeing problems in mkosi CI where we lose notify messages
sent over vsock from virtual machines because the virtual machine shuts
down before the socket buffers are flushed.
Let's try setting SO_LINGER on vsock sockets so that the kernel waits
until the buffers are flushed when we close the file descriptor.
To make sure it works, let's get rid of our previous workaround that
sends EXIT_STATUS earlier to reduce the chance of it not arriving.
This way, if it doesn't work, we'll notice it immediately due to CI
failures.
Diffstat (limited to '.pylintrc')
0 files changed, 0 insertions, 0 deletions