[systemd-devel] Race condition in a chain of external drive, cryptsetup, mount, and mount-bound service on unplug.

2023-05-31 Thread Arsenii Skvortsov
Hello! Sorry, I think I've sent this initially during Spring break and it didn't get anyone's attention. ☺ I'd still like to hear your opinions. I have a service in a form of a python script to copy OS profile to a LUKS-encrypted external drive on service stop and restore from it back on servic

Re: [systemd-devel] BindsTo and parameterized instance units

2023-04-13 Thread Arsenii Skvortsov
On Thu, 2023-04-13 at 13:52 +, Simon Mullis wrote: > Hi All > > I have a fairly complex (at least to me) setup of a master target spawning > multiple services and groups of instance > services that are chained in a specific order. I use systemd to manage all of > the sockets that allow data

[systemd-devel] Race condition in a chain of external drive, cryptsetup, mount, and mount-bound service on unplug.

2023-04-07 Thread Arsenii Skvortsov
Hello! I have a service in a form of a python script to copy OS profile to a LUKS-encrypted external drive on service stop and restore from it back on service start. (If anyone is interested, this btrfs-progs test: https://gist.github.com/ettavolt/b9e94c36a483f6045339c33fd90ce2e8 - might give a