Bug 746119 - unwanted output from cryptsetup isLuks
Summary: unwanted output from cryptsetup isLuks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cryptsetup-luks
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ondrej Kozina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-13 23:20 UTC by Andrei Gaponenko
Modified: 2012-01-17 20:28 UTC (History)
7 users (show)

Fixed In Version: cryptsetup-luks-1.3.1-3.fc16
Clone Of:
Environment:
Last Closed: 2012-01-17 20:28:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrei Gaponenko 2011-10-13 23:20:36 UTC
Hi,

The "cryptsetup isLuks /dev/sda" command started printing out "Device /dev/sda is not a valid LUKS device." in Fedora 16.  I see this with the

cryptsetup-luks-1.3.1-2.fc16.x86_64

version.  Without the --verbose option it should only return the status code, not print anything.

Andrei

Comment 1 Milan Broz 2011-10-14 06:38:43 UTC
right, yest another unwanted change since 1.2.0 api rewrite (I'll change that upstream).

Anyway if you have this in script just redirect stderr as workaround for now
cryptsetup isLuks /dev/sda 2>/dev/null

Comment 2 Milan Broz 2011-10-14 06:47:24 UTC
and btw I would suggest to use blkid anyway for signature check, e.g.

blkid -p -u crypto_LUKS /dev/sda

Comment 3 Milan Broz 2011-10-25 19:13:13 UTC
Fixed upstream, will appear in rawhide shortly. For F16 it needs backport later (cannot rebase because of api change).
http://code.google.com/p/cryptsetup/source/detail?r=653#

Comment 4 Fedora Update System 2011-12-23 11:41:04 UTC
cryptsetup-luks-1.3.1-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/cryptsetup-luks-1.3.1-3.fc16

Comment 5 Fedora Update System 2011-12-23 22:22:58 UTC
Package cryptsetup-luks-1.3.1-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cryptsetup-luks-1.3.1-3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17419/cryptsetup-luks-1.3.1-3.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-01-17 20:28:12 UTC
cryptsetup-luks-1.3.1-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.