Open greenmoss opened 5 years ago
@greenmoss Thank you for reporting this.
@cro Any thoughts on the best way to address this issue?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
Thank you for updating this issue. It is no longer marked as stale.
Description of Issue
I set up salt-proxy to run fx2/racadm. However upon startup, salt-proxy logged error "command not found".
This was very confusing, because I was able to run
racadm
from the command line, using the same$PATH
.After some digging, I discovered
racadm
was a symlink to an executable file, but the executable was missing a#!/usr/bin/env bash
shebang. Bash followed the symlinks and ran the executable, but salt-proxy would not. Once I added the shebang, salt-proxy was able to runracadm
.Proposed solutions
To reduce confusion for future users, perhaps it would make sense to either:
Setup
Steps to Reproduce Issue
Trimmed output other than stack trace:
trimmed exit messages, now looking at relevant section from strace:
Note the
ENOEXEC
in the middle there, even though I can run it from shell:Now the weird chain of links, etc:
Fix: edit
/opt/dell/srvadmin/sbin/racadm-wrapper-idrac7
, add shebang:Versions Report