diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-04-20 16:19:27 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-04-20 17:20:38 +0200 |
commit | 4a62257d6837fe33c7fb93a417156b94a6c8c83a (patch) | |
tree | c2739f41d84b6fea7cf3b4df3c64106e7978abd3 /src/sysext | |
parent | 8ede1e86b2cfdbe7bb1e1913a08e068a82d4532c (diff) | |
download | systemd-4a62257d6837fe33c7fb93a417156b94a6c8c83a.tar.gz |
dissect: ignore udev database entries from before the loopback attachment
This tries to shorten the race of device reuse a bit more: let's ignore
udev database entries that are older than the time where we started to
use a loopback device.
This doesn't fix the whole loopback device raciness mess, but it makes
the race window a bit shorter.
Diffstat (limited to 'src/sysext')
-rw-r--r-- | src/sysext/sysext.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index c305a30fae..c5fdf99aa7 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -533,6 +533,7 @@ static int merge_subprocess(Hashmap *images, const char *workspace) { &verity_settings, NULL, d->uevent_seqnum_not_before, + d->timestamp_not_before, flags, &m); if (r < 0) |