initramfs parameters invalid for IPv6 portal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-iscsi (Debian) |
New
|
Unknown
|
|||
partman-iscsi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In init.d/iscsi the portal address is collected thusly:
echo "$(cat "$connectiondev
resulting in an iscsi_portal file looking like
2606:a000:
In finish.
These variables are then used to populate iscsi.initramfs, which ends up looking like this:
ISCSI_TARGET_
ISCSI_TARGET_
ISCSI_TARGET_
ISCSI_TARGET_
ISCSI_USERNAME=
ISCSI_PASSWORD=
I think the easiest fix would be to switch the greed of the matching, as in:
though I worry about naively splitting on colon when dealing with IPv6 addresses like this.
Changed in partman-iscsi (Debian): | |
status: | Unknown → New |
The attachment "iscsi_ settings. patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]