mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
A race condition happens when calling ask_password_auto() multiple times to unlock several disks on boot and effectively no password caching is utilized. This patch fixes it by polling the cache when waiting for the password.