Re: Broken executable-in-var

Bart van Strien <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <[email protected]>
On 03/08/15 11:05, Thomas Leonard wrote:
> Do you have any strange security policies in place (SELinux, etc)?

Nothing special, no.

> What happens if you run this file directly? (it should run, but
> complain "Environment variable 'zeroinstall_runenv_ZEROINSTALL_GPG'
> not set")

At least I found my previous error again, in both zsh and bash:

    zsh: ./test.sh: bad interpreter:
    /home/bartbes/.cache/0install.net/implementations/sha256new_YE: no
    such file or directory
    bash: ./test.sh:
    /home/bartbes/.cache/0install.net/implementations/sha256new_YEPNC3CZ7CVC6ZJNS:
    bad interpreter: No such file or directory
    bash3: ./test.sh:
    /home/bartbes/.cache/0install.net/implementations/sha256new_YEPNC3CZ7CVC6ZJNS3:
    bad interpreter: No such file or directory


And of course the full path exists. I'm tempted to say this would be in 
execve but then I'd expect the cutoff points to be equal, where they 
even vary for different versions of bash. That said, a simple wrapper 
executable that tries to run it with execve also gets a "No such file or 
directory" error.

Regards,
Bart van Strien

------------------------------------------------------------------------------

_______________________________________________
Zero-install-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zero-install-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.