** Description changed:

- ubuntu-drivers-common fails when no PATH environment variable is passed:
+ SRU Request:
+ 
+ [Impact]
+ 
+  * ubuntu-drivers-common fails when no PATH environment variable is
+ passed:
  
  https://errors.ubuntu.com/problem/52d04f39f8cbdb77d65ec57f19a5801284c1e2b0
  
  
- While the reasons why the PATH variable is empty are unknown, the 
ubuntu-drivers tools should not fail, and we can assume that a minimal PATH 
(such as /sbin:/usr/sbin:/bin:/usr/bin) would apply to the system.
+  * 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:/usr/sbin:/bin:/usr/bin) to be available on the 
system.
+ 
+ 
+ [Test Case]
+ 
+  * Install ubuntu-drivers-common from the -proposed repository.
+ 
+  * 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/ubuntu-drivers devices
+ 
+  * Neither case should fail any more.
+ 
+ [Regression Potential]
+ 
+  * Low. Nothing really changes in the functioning if the PATH variable
+ is not empty.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1854472

Title:
  ubuntu-drivers-common fails when no PATH environment variable is
  passed

Status in ubuntu-drivers-common package in Ubuntu:
  Fix Released
Status in ubuntu-drivers-common source package in Bionic:
  In Progress
Status in ubuntu-drivers-common source package in Eoan:
  In Progress

Bug description:
  SRU Request:

  [Impact]

   * ubuntu-drivers-common fails when no PATH environment variable is
  passed:

  https://errors.ubuntu.com/problem/52d04f39f8cbdb77d65ec57f19a5801284c1e2b0

  
   * 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:/usr/sbin:/bin:/usr/bin) to be available on the 
system.

  
  [Test Case]

   * Install ubuntu-drivers-common from the -proposed repository.

   * 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/ubuntu-drivers devices

   * Neither case should fail any more.

  [Regression Potential]

   * Low. Nothing really changes in the functioning if the PATH variable
  is not empty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1854472/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to