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: | RESOLVED FIXED | ||
Severity: | normal | CC: | anthonyryan1, chris, jsmolic, lukasz, sam, timo, witzenrath |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=808246 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 808246, 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 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64bd02f1d3e9dbb8300cfb01af795b5ed374ca95 commit 64bd02f1d3e9dbb8300cfb01af795b5ed374ca95 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-02-17 09:36:34 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-02-17 09:36:34 +0000 sys-cluster/drbd-utils: Bump to 9.15.1 Closes: https://bugs.gentoo.org/690298 Closes: https://bugs.gentoo.org/698304 Closes: https://bugs.gentoo.org/705614 Closes: https://bugs.gentoo.org/715616 Closes: https://bugs.gentoo.org/716810 Closes: https://bugs.gentoo.org/718818 Closes: https://bugs.gentoo.org/721110 Closes: https://bugs.gentoo.org/725750 Closes: https://bugs.gentoo.org/728166 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org> sys-cluster/drbd-utils/Manifest | 1 + sys-cluster/drbd-utils/drbd-utils-9.15.1.ebuild | 104 +++++++++++++++++++++ .../files/drbd-utils-9.15.1-run-lock.patch | 13 +++ .../files/drbd-utils-9.15.1-sysmacros.patch | 41 ++++++++ 4 files changed, 159 insertions(+) The fix should probably also have included drbd itself. Cause right now, the systemd unit is broken as it has /lib/drbd/drbd hardcoded in. (In reply to Timo Rothenpieler from comment #5) > The fix should probably also have included drbd itself. > Cause right now, the systemd unit is broken as it has /lib/drbd/drbd > hardcoded in. A new bug is usually a good idea so it doesn't get missed. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1f26b3bd4f5cee5c8fe7ed5e04046dfd8471f5 commit de1f26b3bd4f5cee5c8fe7ed5e04046dfd8471f5 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-17 02:09:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-17 02:13:05 +0000 sys-cluster/drbd-utils: fix systemd unit libdir Closes: https://bugs.gentoo.org/698304 Signed-off-by: Sam James <sam@gentoo.org> .../{drbd-utils-9.15.1.ebuild => drbd-utils-9.15.1-r1.ebuild} | 3 +++ 1 file changed, 3 insertions(+) |