curtin hook does not execute /opt/curtin/finalize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
High
|
Scott Moser | ||
curtin (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
As reported by Gabriel (and Blake)
There is a small [but crippling] bug in:
http://
that particular join will not have the desired effect. The second parameter must not contain a leading /. or it will become the root path.
>>> import os
>>>
>>> root_p = "/root"
>>> os.path.
'/opt/curtin'
>>> os.path.
'/root/opt/curtin'
SRU curtin
==========
[Impact]
This bug doesn't allow curtin to execute /opt/curtin/
This fix needs to be backported to the stable release so that program can have the originally intended functionality.
This upload fixes the bug by enabling the finalize script to execute as originally intended.
[Test Case]
To reproduce the bug, follow the original bug report description. This can be verified by using a Python interpreter and the code changes that the patch supplies.
[Regression Potential]
Since the script was not executing as originally intended there would only be regressions in the event that other "band-aid" fixes were committed upstream to circumvent the undesirable effect that this had. This isn't the case so we believe the probability of this causing a regression is low.
Changed in curtin (Ubuntu Trusty): | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
fix-comitted in revno 130.