Summary: | sys-cluster/drbd-utils: problem with binaries paths on 17.1 profiles | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Roman Barczyński <romke> |
Component: | Current packages | Assignee: | Gentoo Cluster Team <cluster> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | anthonyryan1, chris, lukasz, timo, witzenrath |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 506276 |
Description
Roman Barczyński
2019-10-22 22:19:33 UTC
I have the same problem : execvp() failed to exec drbdadm-84: No such file or directory The problem is reproduceable with kernel version > 5.0.1, I guess... I have multiple drbd-setups and I can reproduce this on every of this. All setups are running on amd64. is there a patch or something, I can apply? Thanks, Thomas Found it. For all with the same problem : Setting PATH to $PATH:/lib64/drdb fixes the problem: localhost ~ # echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin localhost ~ # drbdadm execvp() failed to exec drbdadm-84: No such file or directory localhost ~ # export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/lib64/drbd localhost ~ # echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/lib64/drbd localhost ~ # drbdadm USAGE: drbdadm COMMAND [OPTION...] {all|RESOURCE...} GENERAL OPTIONS: --stacked, -S --dry-run, -d --verbose, -v --config-file=..., -c ... --config-to-test=..., -t ... --drbdsetup=..., -s ... --drbdmeta=..., -m ... --drbd-proxy-ctl=..., -p ... --sh-varname=..., -n ... --peer=..., -P ... --version, -V --setup-option=..., -W ... --help, -h COMMANDS: attach disk-options detach connect net-options disconnect up resource-options down primary secondary invalidate invalidate-remote outdate resize verify pause-sync resume-sync adjust adjust-with-progress wait-connect wait-con-int role cstate dstate dump dump-xml create-md show-gi get-gi dump-md wipe-md apply-al hidden-commands Version: 8.9.6 (api:1) GIT-hash: c6e62702d5e4fb2cf6b3fa27e67cb0d4b399a30b build by @localhost, 2020-04-21 15:21:17 No command specified can reproduce this when switching from profile 17.0 to 17.1 created these symlinks to get it back to work: ln -s /lib64/drbd/ /lib/drbd ln -s /usr/lib64/drbd/ /usr/lib/drbd permanent fixes appreciated |