debian-installer: creation of volume group (LVM) fails if hostname corresponds with an existing device name
Bug #1091788 reported by
Dimitri John Ledkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto-lvm (Debian) |
Fix Released
|
Unknown
|
|||
partman-auto-lvm (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
Raring |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* Auto LVM recipe fails to install, if hostname matches one of existing volume group names or devices under /dev/
[Test Case]
* Do not preseed default VG name & specify a hostname as clashing with a device under /dev/, e.g. "port". Before the installation fails, now "port-vg" VG name is used.
* Specify a clashing default VG name, e.g. port. Before the installation fails, now a message appears that "This name is in use already" and asks to select a different one.
[Regression Potential]
* Some systems may expect default VG group name to match the hostname exactly. In those cases "partman-
Changed in partman-auto-lvm (Ubuntu Precise): | |
status: | New → Triaged |
Changed in partman-auto-lvm (Ubuntu Raring): | |
status: | New → Triaged |
Changed in partman-auto-lvm (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in partman-auto-lvm (Ubuntu Raring): | |
importance: | Undecided → High |
assignee: | nobody → Dmitrijs Ledkovs (xnox) |
Changed in partman-auto-lvm (Ubuntu Precise): | |
assignee: | nobody → Dmitrijs Ledkovs (xnox) |
Changed in partman-auto-lvm (Debian): | |
importance: | Undecided → Unknown |
Changed in partman-auto-lvm (Ubuntu Raring): | |
status: | Triaged → Opinion |
status: | Opinion → Fix Committed |
assignee: | Dmitrijs Ledkovs (xnox) → nobody |
Changed in partman-auto-lvm (Ubuntu Precise): | |
status: | Triaged → In Progress |
description: | updated |
Changed in partman-auto-lvm (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
The simple solution to this bug is to preseed: "partman- auto-lvm/ new_vg_ name" with a sensible name.
Nonetheless, I will make auto-generated vg name to be more safe.