summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authorKartik Gokte <ksgokte@gmail.com>2023-12-11 19:09:26 +0530
committerKartik Gokte <ksgokte@gmail.com>2023-12-11 19:09:26 +0530
commit68221c35ff10c0e3f61074d97b02dc4b32164ad4 (patch)
treec5b9a4b16e3c3c319764ddfd0b779ef7f6679fc9 /pkgs/development/python-modules/python-openstackclient
parent33576fdfce2d11204067d6cfa99a2f990ef2169a (diff)
ceph: use absolute binary paths instead of relative paths
While trying to mount CephFS using libceph and systemd, mount.ceph tries to call "modinfo", "modprobe", and "grep", but fails with the error "sh: line 1: modprobe: command not found". This is because ceph calls these binaries by running the command "sh -c -- <application> %s %s", which does not pass the PATH environment variable through. This isn't usually a problem, because ceph, by default, calls the paths of these binaries as they would be in debian, in /sbin and /bin, but a change was made to replace these with relative paths, thus breaking the mounting process entirely. Replacing these relative paths with absolute store paths alleviates this issue whilst preserving all functionality.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions