Actions
Bug #36728
closedceph-volume does not respect $PATH
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Hello!
Attempting to use ceph-volume when LVM is installed in a non-standard location results in:
$ ceph-volume lvm list --> Absolute path not found for executable: lvs --> Ensure $PATH environment variable contains common executable locations --> Absolute path not found for executable: lvs --> Ensure $PATH environment variable contains common executable locations No valid Ceph devices found
Yet:
$ which lvs /root/.guix-profile/sbin/lvs
The problem is that, despite the error message, ceph-volume never actually consults $PATH. It only searches a hard-coded list of locations.
Actions