DOTNET_ROOT is not set properly when upgrading
Bug #1997746 reported by
Miriam España Acebal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dotnet6 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Miriam España Acebal | ||
Kinetic |
Fix Released
|
Medium
|
Miriam España Acebal | ||
Lunar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
After the change in the layout installation, the DOTNET_ROOT env variable is still set with the old path. This makes that using the binary directly resulting from a built solution doesn't work unless you prepend the correct path to the execution.
The dotnet command is not affected (so `dotnet run` can be used perfectly).
The variable is set in the dotnet.sh file.
CVE References
Changed in dotnet6 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in dotnet6 (Ubuntu Jammy): | |
assignee: | nobody → Miriam España Acebal (mirespace) |
Changed in dotnet6 (Ubuntu Kinetic): | |
assignee: | nobody → Miriam España Acebal (mirespace) |
Changed in dotnet6 (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in dotnet6 (Ubuntu Kinetic): | |
status: | New → In Progress |
Changed in dotnet6 (Ubuntu Jammy): | |
importance: | Undecided → Medium |
Changed in dotnet6 (Ubuntu Kinetic): | |
importance: | Undecided → Medium |
To post a comment you must log in.
The issue was reported upstream at https:/ /github. com/dotnet/ runtime/ issues/ 79237