udevadm_info() fails if any value contains "="
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
New
|
Undecided
|
Unassigned |
Bug Description
Description:
curtin.
This was observed while attempting to install Ubuntu 20.04 on Nutanix AHV.
Example:
ubuntu-
SCSI_
ubuntu-
ubuntu-
Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from curtin.udev import udevadm_info
>>> udevadm_
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/snap/
key, value = line.split('=', 2)
ValueError: too many values to unpack (expected 2)
Hmm I thought this was fixed but apparently not. I've proposed https:/ /code.launchpad .net/~mwhudson/ curtin/ +git/curtin/ +merge/ 392197 to get this done.