[Bug 1091788] Re: debian-installer: creation of volume group (LVM) fails if hostname corresponds with an existing device name

Dmitrijs Ledkovs launchpad at surgut.co.uk
Fri Jan 4 18:59:18 UTC 2013


** Description changed:

- Imported from Debian bug http://bugs.debian.org/565947:
+ [Impact]
  
- Package: debian-installer
- Version: 20091215
- Severity: normal
+  * Auto LVM recipe fails to install, if hostname matches one of existing
+ volume group names or devices under /dev/
  
+ [Test Case]
  
- Using the guided partition mode with LVM setup might fail if the
- chosen hostname corresponds with an existing device name.
+  * 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.
  
- Example:
+  * 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.
  
- The hostname is set to "vcs". The name of the automatically created
- volume group is "vcs" as well then, though creation and use of it
- fail because /dev/vcs is an existing character device already.
+ [Regression Potential]
  
- The *source* of the error isn't visible in the user interface but
- just in the syslog.
- 
- regards,
- -mika-
+  * Some systems may expect default VG group name to match the hostname
+ exactly. In those cases "partman-auto-lvm/new_vg_name" should be
+ preseeded explicitly to an expected value.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-auto-lvm in Ubuntu.
https://bugs.launchpad.net/bugs/1091788

Title:
  debian-installer: creation of volume group (LVM) fails if hostname
  corresponds with an existing device name

Status in “partman-auto-lvm” package in Ubuntu:
  Fix Committed
Status in “partman-auto-lvm” source package in Precise:
  In Progress
Status in “partman-auto-lvm” source package in Raring:
  Fix Committed
Status in “partman-auto-lvm” package in Debian:
  New

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-auto-lvm/new_vg_name" should be
  preseeded explicitly to an expected value.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto-lvm/+bug/1091788/+subscriptions




More information about the foundations-bugs mailing list