Red Hat Bugzilla – Bug 679223
installer overwrites all new device passphrases with first-specified/global passphrase
Last modified: 2011-03-16 00:06:20 EDT
+++ This bug was initially created as a clone of Bug #679166 +++
Description of problem:
Documentation for kickstart configuration for partitions says there is a --passphrase parameter to specify each partition's passphrase.
However after installation all partitions are mounted with the same passphrase as if it was a global default
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a kickstart configuration file with a set of partitions where at least two are encrypted and define a different passphrase
2. make an unattended installation with said kickstart
At boot, there is a password prompt for mounting a partition. If entered correctly, all partitions are mounted and boot process continiues.
It should be needed to enter all passphrases in order to continue.
--- Additional comment from firstname.lastname@example.org on 2011-02-21 14:26:18 EST ---
Created attachment 479981 [details]
example kickstart file
--- Additional comment from email@example.com on 2011-02-21 16:46:59 EST ---
*** Bug 679165 has been marked as a duplicate of this bug. ***
--- Additional comment from firstname.lastname@example.org on 2011-02-21 17:50:31 EST ---
Created attachment 480014 [details]
f14 updates to not overwrite passphrases with first/global passphrase
Place the attached updates.img file in os/images/ in your install directory to get it picked up and used automatically. We don't do official fixes for the installer for Fedora 14 after the initial release, but this updates image should fix the problem you have seen.
Let me know if this doesn't solve your problem.
If a user creates multiple encrypted devices in kickstart, the first passphrase we find becomes the default/global passphrase in case any other encrypted devices have no passphrase specified. We are erroneously overwriting all devices' passphrases with the global/default when we should only be apply the default to those devices for which no passphrase has been set.
Similarly, if multiple encrypted devices are created in the GUI and a global passphrase is established by the user after having specified passphrases for some newly encrypted devices we should only use the global passphrase for that and subsequent devices instead of overwriting the passphrases already established for previously-created devices.
Fixed on master branch (commit e1956392c441a), just awaiting approval to push to f15-branch.
Fixed for Fedora 15 in anaconda-15.22-1.
anaconda-15.22-1.fc15 has been submitted as an update for Fedora 15.
Discussed at 2011-03-11 blocker review meeting. This issue is fixed and available for testing in anaconda-15.22-1. The issue has been accepted as a beta blocker.
anaconda-15.22-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.