Bug 883418 - SwapError: mkswap failed for '/dev/vda4'
Summary: SwapError: mkswap failed for '/dev/vda4'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:dabf18f857e32c16281dd8cd54d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-04 14:54 UTC by Petr Schindler
Modified: 2014-02-05 13:32 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 13:32:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (694.12 KB, text/plain)
2012-12-04 14:54 UTC, Petr Schindler
no flags Details
File: product (6 bytes, text/plain)
2012-12-04 14:54 UTC, Petr Schindler
no flags Details
File: type (9 bytes, text/plain)
2012-12-04 14:54 UTC, Petr Schindler
no flags Details
File: storage.log (337.54 KB, text/plain)
2012-12-04 14:54 UTC, Petr Schindler
no flags Details
File: version (2 bytes, text/plain)
2012-12-04 14:54 UTC, Petr Schindler
no flags Details
File: environ (780 bytes, text/plain)
2012-12-04 14:54 UTC, Petr Schindler
no flags Details
File: executable (14 bytes, text/plain)
2012-12-04 14:54 UTC, Petr Schindler
no flags Details
File: anaconda.log (68.48 KB, text/plain)
2012-12-04 14:55 UTC, Petr Schindler
no flags Details
File: syslog (69.29 KB, text/plain)
2012-12-04 14:55 UTC, Petr Schindler
no flags Details
File: hashmarkername (8 bytes, text/plain)
2012-12-04 14:55 UTC, Petr Schindler
no flags Details
File: packaging.log (162.02 KB, text/plain)
2012-12-04 14:55 UTC, Petr Schindler
no flags Details
File: cmdline_file (87 bytes, text/plain)
2012-12-04 14:55 UTC, Petr Schindler
no flags Details
File: release (24 bytes, text/plain)
2012-12-04 14:55 UTC, Petr Schindler
no flags Details
File: program.log (22.21 KB, text/plain)
2012-12-04 14:55 UTC, Petr Schindler
no flags Details

Description Petr Schindler 2012-12-04 14:54:18 UTC
Description of problem:
I had problems in custom partitioning. I left LVM as default, but then I changed my mind (I wanted to test encrypted home and normal root). So I changed all partitions to Standart partition by hand.

Then swap partition changed his filesystem to unknown - so I chose swap again and click on apply. But the same problem happend to root partition. But when I changed it back to ext4 and clicked on apply and then again I clicked on this partition, there was remaining 'unknown' filesystem. I didn't got any warning, so I start installation and it failed after a while.


Version-Release number of selected component:
anaconda-18.34

Additional info:
libreport version: 2.0.18
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.7-5.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.34 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/swap.py", line 50, in mkswap
:    raise SwapError("mkswap failed for '%s'" % device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/swap.py", line 163, in create
:    swap.mkswap(self.device, label=self.label)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 439, in execute
:    options=self.device.formatArgs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 323, in processActions
:    action.execute()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 336, in doIt
:    self.devicetree.processActions()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 174, in turnOnFilesystems
:    storage.doIt()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 114, in doInstall
:    turnOnFilesystems(storage)
:  File "/usr/lib64/python2.7/threading.py", line 504, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
:    threading.Thread.run(self, *args, **kwargs)
:SwapError: mkswap failed for '/dev/vda4'

Comment 1 Petr Schindler 2012-12-04 14:54:37 UTC
Created attachment 657561 [details]
File: anaconda-tb

Comment 2 Petr Schindler 2012-12-04 14:54:40 UTC
Created attachment 657562 [details]
File: product

Comment 3 Petr Schindler 2012-12-04 14:54:43 UTC
Created attachment 657563 [details]
File: type

Comment 4 Petr Schindler 2012-12-04 14:54:50 UTC
Created attachment 657564 [details]
File: storage.log

Comment 5 Petr Schindler 2012-12-04 14:54:53 UTC
Created attachment 657565 [details]
File: version

Comment 6 Petr Schindler 2012-12-04 14:54:56 UTC
Created attachment 657566 [details]
File: environ

Comment 7 Petr Schindler 2012-12-04 14:54:59 UTC
Created attachment 657567 [details]
File: executable

Comment 8 Petr Schindler 2012-12-04 14:55:02 UTC
Created attachment 657568 [details]
File: anaconda.log

Comment 9 Petr Schindler 2012-12-04 14:55:33 UTC
Created attachment 657569 [details]
File: syslog

Comment 10 Petr Schindler 2012-12-04 14:55:36 UTC
Created attachment 657570 [details]
File: hashmarkername

Comment 11 Petr Schindler 2012-12-04 14:55:40 UTC
Created attachment 657571 [details]
File: packaging.log

Comment 12 Petr Schindler 2012-12-04 14:55:43 UTC
Created attachment 657572 [details]
File: cmdline_file

Comment 13 Petr Schindler 2012-12-04 14:55:46 UTC
Created attachment 657573 [details]
File: release

Comment 14 Petr Schindler 2012-12-04 14:55:50 UTC
Created attachment 657574 [details]
File: program.log

Comment 15 Vratislav Podzimek 2012-12-29 12:43:07 UTC
I've created /boot, / and /home and swap partitions. Then I've changed types from LVM to Standard Partition which changed filesystem choice on the swap partition to unknown. Then I've just switched it back to swap and started installation with such layout.

Package: anaconda-18.37.3
Architecture: i686
OS Release: Fedora release 18-TC3

Comment 16 Ken Dubrick 2013-04-08 01:43:20 UTC
trying to set root password during installation

Package: anaconda-18.37.11
Architecture: i686
OS Release: Fedora release 18

Comment 17 Fedora End Of Life 2013-12-21 09:37:53 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 18 Fedora End Of Life 2014-02-05 13:32:53 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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