#1069777 initramfs-tools: Bug/feature request: better handling of /etc/crypttab not ending in new line character

#1069777#5
Date:
2024-04-24 14:03:47 UTC
From:
To:
Dear Maintainer,
I'm not sure if this is a bug that should be fixed or a feature request for
better error handling. I noticed by accident, that when /etc/crypttab
ends in
the line of the last entry and not a new line character,
update-initramfs just
ignores the last line and says it couldn't find that device in
/etc/crypttab.
Either the tool should be able to just handle this rather simple case or at
least give a proper error message. Or whatever would make it more
obvious for
the user what actually the error is as the existing error message is quite
misleading.

Best
Richard