1
0
Fork 0
mirror of https://passt.top/passt synced 2025-05-21 00:35:34 +02:00
passt/contrib/selinux
Stefano Brivio 0470170247 passt-repair: Add directory watch
It might not be feasible for users to start passt-repair after passt
is started, on a migration target, but before the migration process
starts.

For instance, with libvirt, the guest domain (and, hence, passt) is
started on the target as part of the migration process. At least for
the moment being, there's no hook a libvirt user (including KubeVirt)
can use to start passt-repair before the migration starts.

Add a directory watch using inotify: if PATH is a directory, instead
of connecting to it, we'll watch for a .repair socket file to appear
in it, and then attempt to connect to that socket.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
2025-03-12 21:34:36 +01:00
..
passt-repair.fc Introduce passt-repair 2025-02-04 01:28:04 +01:00
passt-repair.te passt-repair: Add directory watch 2025-03-12 21:34:36 +01:00
passt.fc selinux: Use explicit paths for binaries in file context 2023-08-18 13:18:45 +02:00
passt.if passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
passt.te selinux: Fixes/workarounds for passt and passt-repair, mostly for libvirt usage 2025-02-28 01:14:01 +01:00
pasta.fc selinux: Use explicit paths for binaries in file context 2023-08-18 13:18:45 +02:00
pasta.te selinux: Add rules needed to run tests 2025-02-13 00:42:52 +01:00