BIOS that SMIBIOS is not fuly supported by dmidecode causes image autmatic installation fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Ara Pulido | ||
Precise |
Won't Fix
|
High
|
Unassigned | ||
Saucy |
Won't Fix
|
Undecided
|
Unassigned | ||
dmidecode (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Image: Ubuntu 12.04 LTS
The suffix of hostname is too long and makes ubiqutiy automatic installation failed
because suffix contains the warring message of dmidecode.
Here is the error message in /var/log/
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
return "\n".join(
TypeError: sequence item 0: expected string, NoneType found
In automation installtion, ubiquity uses product name from BIOS as hostname suffix by
parsing dmidecode output, but if a SMBIOS version is large thatn the version dmidecode supported,
the output of `dmidecode -s system-
contains the following warring message, so that hostname suffix is invalid.
The warring message is
````
# SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.
````
**** Additional information:
ubiquity package version:
ii ubiquity 2.10.26 Ubuntu live CD installer
ii ubiquity-casper 1.315.1 Configuration hooks for live installer
ii ubiquity-
ii ubiquity-
ii ubiquity-
ii ubiquity-
affects: | ubiquity → oem-priority |
Changed in oem-priority: | |
importance: | Undecided → High |
Changed in oem-priority: | |
assignee: | nobody → Ara Pulido (apulido) |
dmidecode really ought to print this message to stderr, not stdout (at least when the -s option is in use, indicating a desire for machine-readable output; there might be backward- compatibility concerns with changing it in general). That would be much less fragile than trying to parse this out in ubiquity.