Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

stage0: error when using relative path for --exec #1902

Closed
crawford opened this issue Dec 18, 2015 · 1 comment · Fixed by #1953
Closed

stage0: error when using relative path for --exec #1902

crawford opened this issue Dec 18, 2015 · 1 comment · Fixed by #1953

Comments

@crawford
Copy link
Contributor

run: error parsing app image arguments: invalid argument "scripts/deploy stage" for --exec: --exec must be absolute path

I think it would be more accurate if it said argument to --exec must be an absolute path or 'scripts/deploy stage' is not an absolute path.

@jonboulle
Copy link
Contributor

The middle part there is going to be a little trickier to change since it's part of pflag: https://github.com/coreos/rkt/blob/master/Godeps/_workspace/src/github.com/spf13/pflag/flag.go#L621

But this raises a different point which is that this check is actually wrong since appc/spec@7d3e414 landed

@jonboulle jonboulle changed the title Confusing error when --exec argument is not an absolute path stage0: error when using relative path for --exec Dec 19, 2015
@jonboulle jonboulle added this to the v0.15.0 milestone Dec 19, 2015
@alban alban modified the milestones: v0.16.0, v0.15.0 Jan 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants