[pkg-cryptsetup-devel] Bug#720952: cryptdisks.functions' do_luks hides cryptsetup's error messages
mh+debian-packages at zugschlus.de
Mon Aug 26 15:16:31 UTC 2013
while I was bitten by #720593 yesterday, my system's boot message
("$DEVICE is not a LUKS device") made me think for a moment that I had
a dying hard disk which put quite an amount of adrenalin in my blood.
I later found out that cryptsetup was "only" complaining about not
finding libgpg-error.so. That error message is sent to /dev/null in
the init script.
Please consider not sending important and helpful error messages to
/dev/null and instead either allow the binary to write them to the
terminal, or capture them to give them to the user at some later time.
More information about the pkg-cryptsetup-devel