alternative-bin-sh autopkgtest redirect tar to busybox
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb-release-minimal (Ubuntu) |
Fix Released
|
High
|
Brian Murray |
Bug Description
The alternative-bin-sh autopkgtest is meant to run a set of tests using busybox as /bin/sh, however this somehow happens to also redirect /bin/tar. This causes autopkgtest failures. To reproduce locally fetch the lsb-release-minimal (12.0-1) source tree and run:
autopkgtest --test-
Sample error:
autopkgtest [19:09:08]: test alternative-bin-sh: - - - - - - - - - - results - - - - - - - - - -
alternative-bin-sh PASS
tar: unrecognized option '--warning=none'
BusyBox v1.35.0 (Ubuntu 1:1.35.0-4ubuntu1) multi-call binary.
Usage: tar c|x|t [-ZzJjahmvokO] [-f TARFILE] [-C DIR] [FILE]...
Create, extract, or list files from a tar file
c Create
x Extract
t List
-f FILE Name of TARFILE ('-' for stdin/out)
-C DIR Change to DIR before operation
-v Verbose
-O Extract to stdout
-m Don't restore mtime
-o Don't restore user:group
-k Don't replace existing files
-Z (De)compress using compress
-z (De)compress using gzip
-J (De)compress using xz
-j (De)compress using bzip2
--lzma (De)compress using lzma
-a (De)compress based on extension
-h Follow symlinks
--overwrite Replace existing files
--strip-components NUM NUM of leading components to strip
--no-recursion Don't descend in directories
--numeric-owner Use numeric user:group
--no-same-
--to-command COMMAND Pipe files to COMMAND
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
autopkgtest-
Changed in lsb-release-minimal (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
importance: | Undecided → High |
With debugging enabled (autopkgtest --debug):
alternative-bin-sh PASS t.xGweVn/ alternative- bin-sh- artifacts/ /tmp/autopkgtes t.output. 4y26hx9u/ artifacts/
autopkgtest: DBG: sending command to testbed: copyup /tmp/autopkgtes
tar: unrecognized option '--warning=none'