ubuntu-drivers-common fails when no PATH environment variable is passed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
Bionic |
Fix Released
|
Medium
|
Alberto Milone | ||
Eoan |
Fix Released
|
Medium
|
Alberto Milone |
Bug Description
SRU Request:
[Impact]
* ubuntu-
https:/
* While the reasons why the PATH variable is empty are unknown, the ubuntu-drivers tools should be more robust and not fail, and we can expect a minimal PATH (such as /sbin:/
[Test Case]
* Install ubuntu-
* Call the ubuntu drivers tool passing the "devices" parameter:
ubuntu-drivers devices
* Call the ubuntu drivers tool passing the "devices" parameter and an empty PATH variable:
PATH="" /usr/bin/
* Neither case should fail any more.
[Regression Potential]
* Low. Nothing really changes in the functioning if the PATH variable is not empty.
Changed in ubuntu-drivers-common (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in ubuntu-drivers-common (Ubuntu Eoan): | |
status: | New → In Progress |
Changed in ubuntu-drivers-common (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in ubuntu-drivers-common (Ubuntu Eoan): | |
importance: | Undecided → Medium |
Changed in ubuntu-drivers-common (Ubuntu Bionic): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in ubuntu-drivers-common (Ubuntu Eoan): | |
assignee: | nobody → Alberto Milone (albertomilone) |
description: | updated |
This bug was fixed in the package ubuntu- drivers- common - 1:0.7.6.1
--------------- drivers- common (1:0.7.6.1) focal; urgency=medium
ubuntu-
* Make sure that the PATH environment variable is set (LP: #1854472).
-- Alberto Milone <email address hidden> Fri, 29 Nov 2019 11:06:12 +0100