bastille: [BUG] Bastille export is broken in 0.9.20210714
[MANDATORY] Describe the bug [MANDATORY]
bastille export jail
seems to be broken in the latest release
root@bastilledev:~ # bastille export jail Error: Stream can not be written to a terminal. You must redirect standard output.
[MANDATORY] Bastille and FreeBSD version (paste bastille -v && freebsd-version -kru
output)
0.9.20210714
13.0-RELEASE-p3
13.0-RELEASE-p3
13.0-RELEASE-p3
[MANDATORY] How did you install bastille? (port/pkg/git) pkg/latest github/master [optional] Steps to reproduce? bastille export jail
[optional] Additional context
workaround:
add --tgz
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (5 by maintainers)
Commits related to this issue
- Explicitly `bastille export` with `--xz` for v0.9.20210714 See: https://github.com/BastilleBSD/bastille/issues/443 — committed to mattaudesse/mattaudesse.com by mattaudesse 3 years ago
Great job, thanks @JRGTH and @cedwards
@hackacad fixes for this were merged in #479 . Can you please tell us if this resolves your issue?
Sounds reasonable, since no export option defined means that the user will manually redirect/pipe the ZFS stream to either local or remote location, I will make the
export
command to override the options if the${bastille_export_options}
variable is set.Additionally I will add more explanatory information to the error output, as manual redirection is avail only on ZFS setups as well.
Regards