Bug 865247

Summary: FormatSetupError: invalid device specification
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, g.kaviyarasu, jonathan, vanmeeuwen+fedora, vhumpa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:df19160bac314502742d95a311e065b4428e6056236d75f88d5f7f3e784baa97
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 04:43:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: product
none
File: type
none
File: storage.log
none
File: version
none
File: environ
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log none

Description Vít Ondruch 2012-10-11 04:54:19 UTC
Description of problem:
1. Enter password for encrypted volume
2. Press Unlock


Version-Release number of selected component:
anaconda-18.14

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.1-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.14 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/__init__.py", line 342, in setup
:    raise FormatSetupError("invalid device specification")
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/luks.py", line 168, in setup
:    DeviceFormat.setup(self, *args, **kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1837, in on_unlock_clicked
:    device.format.setup()
:FormatSetupError: invalid device specification

Comment 1 Vít Ondruch 2012-10-11 04:54:24 UTC
Created attachment 625321 [details]
File: anaconda-tb

Comment 2 Vít Ondruch 2012-10-11 04:54:26 UTC
Created attachment 625322 [details]
File: product

Comment 3 Vít Ondruch 2012-10-11 04:54:28 UTC
Created attachment 625323 [details]
File: type

Comment 4 Vít Ondruch 2012-10-11 04:54:30 UTC
Created attachment 625324 [details]
File: storage.log

Comment 5 Vít Ondruch 2012-10-11 04:54:32 UTC
Created attachment 625325 [details]
File: version

Comment 6 Vít Ondruch 2012-10-11 04:54:34 UTC
Created attachment 625326 [details]
File: environ

Comment 7 Vít Ondruch 2012-10-11 04:54:36 UTC
Created attachment 625327 [details]
File: anaconda.log

Comment 8 Vít Ondruch 2012-10-11 04:54:39 UTC
Created attachment 625328 [details]
File: syslog

Comment 9 Vít Ondruch 2012-10-11 04:54:41 UTC
Created attachment 625329 [details]
File: hashmarkername

Comment 10 Vít Ondruch 2012-10-11 04:54:43 UTC
Created attachment 625330 [details]
File: packaging.log

Comment 11 Vít Ondruch 2012-10-11 04:54:44 UTC
Created attachment 625331 [details]
File: cmdline_file

Comment 12 Vít Ondruch 2012-10-11 04:54:47 UTC
Created attachment 625332 [details]
File: release

Comment 13 Vít Ondruch 2012-10-11 04:54:49 UTC
Created attachment 625333 [details]
File: program.log

Comment 14 Jesse Keating 2012-10-15 20:52:05 UTC
*** Bug 866372 has been marked as a duplicate of this bug. ***

Comment 15 Fedora Update System 2012-10-20 01:31:30 UTC
anaconda-18.19-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.19-1.fc18

Comment 16 Fedora Update System 2012-10-20 03:50:04 UTC
Package anaconda-18.19-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.19-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16528/anaconda-18.19-1.fc18
then log in and leave karma (feedback).

Comment 17 Vít Ondruch 2012-10-22 10:12:59 UTC
This works in TC6.

Nevertheless, the password is cached in between luks volumes, e.g. I unlock one volume, click on other and the password is pre-entered. Is that intentional? I would say the field should be reset after unlock.

Comment 18 David Lehman 2012-10-22 14:10:30 UTC
(In reply to comment #17)
> This works in TC6.
> 
> Nevertheless, the password is cached in between luks volumes, e.g. I unlock
> one volume, click on other and the password is pre-entered. Is that
> intentional? I would say the field should be reset after unlock.

It is intentional. In the past, we have gone so far as to unlock any other volumes that use the same passphrase to prevent users from having to enter the same passphrase several times.

Comment 19 Vít Ondruch 2012-10-22 14:46:16 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > This works in TC6.
> > 
> > Nevertheless, the password is cached in between luks volumes, e.g. I unlock
> > one volume, click on other and the password is pre-entered. Is that
> > intentional? I would say the field should be reset after unlock.
> 
> It is intentional. In the past, we have gone so far as to unlock any other
> volumes that use the same passphrase to prevent users from having to enter
> the same passphrase several times.

But you are not going that way anymore I suppose, or is it regression? Since I have to unlock every volume separately, although using the same password.

Comment 20 Adam Williamson 2012-11-23 04:43:25 UTC
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.

(ref comment #17)