Bug 1254064

Summary: encrypted swap should have optional password
Product: [Fedora] Fedora Reporter: Ian Kelling <ianowl>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 22CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-08 20:12:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Kelling 2015-08-17 05:34:04 UTC
Description of problem:
Setting up custom partitioning, lvm with only one encrypted volume (swap), it requires a password. blank does not work. Swap should be able to use a random password. For example, this line in /etc/crypttab:

swap /dev/sdaX   /dev/urandom   swap,cipher=aes-cbc-essiv:sha256,size=256

Comment 1 David Shea 2016-03-23 21:06:37 UTC
This would break resuming from hibernate.

Comment 2 Ian Kelling 2016-03-24 04:02:56 UTC
Anaconda allows having no swap or a small swap, which both break hibernate. This is a perfectly valid and useful configuration.

Comment 3 David Shea 2016-04-08 20:12:33 UTC

*** This bug has been marked as a duplicate of bug 505518 ***