Sophos EDR 10.0.4 interfering with Postgres Flyway migrations

One of the developers that is running BigSur and the latest EAP (10.0.4) has reported issues with Flyway migrations using Postgres SQL.

The Flyway migration is failing due to "an interrupted system call" complaining that it cannot open the local file. There are no entries in the Sophos logs but if we remove the Sophos EDR all works fine.

I am running an SDU on this device: 401a7f0a-1228-b4d2-78ac-f252cf8df729_2021-03-08-15-39-17.zip

Similar issues have been reported here: https://github.com/PostgresApp/PostgresApp/issues/610 and although we are talking about a different EDR the root cause seems to be the same, a system extension from the EDR causing this issue.

I have a feeling this could be related to SystemD this time and not the Network Extension but I might be wrong...

I would appreciate if someone can investigate this as most of my members of staff are developers and Flyway migrations are pretty common.

Thanks,

Nicholas