commit | 966ecf0011a02c7823083a7868b8589fdf850be8 | [log] [download] |
---|---|---|
author | Lennart Poettering <lennart@poettering.net> | Mon Jan 21 20:20:35 2019 +0100 |
committer | The Plumber <50238977+systemd-rhel-bot@users.noreply.github.com> | Wed Dec 18 13:25:41 2019 +0100 |
tree | 61d9f2ecd1a4dbcaeb844bdbf7b51148325e262d | |
parent | 3bbacfb22a9266769a41dee6f8f594fbeb6287fc [diff] |
cryptsetup: rework how we log about activation failures First of all let's always log where the errors happen, and not in an upper stackframe, in all cases. Previously we'd do this somethis one way and sometimes another, which resulted in sometimes duplicate logging and sometimes none. When we cannot activate something due to bad password the kernel gives us EPERM. Let's uniformly return this EAGAIN, so tha the next password is tried. (previously this was done in most cases but not in all) When we get EPERM let's also explicitly indicate that this probably means the password is simply wrong. Fixes: #11498 (cherry picked from commit 6f177c7dc092eb68762b4533d41b14244adb2a73) Related: #1776408
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.