Hi,
On Thu, 2017-02-02 at 11:35 +0100, Miroslav Suchý wrote:
Really? With mock-1.3.3 I run:
mock --shell --new-chroot ">&2 echo 'error'" >/tmp/o
2>/tmp/e
and /tmp/o is empty end /tmp/e contains:
fedora-review do something like:
mock -r fedora-26-x86_64 --quiet --chroot -- rpm --eval "%dist %fedora
%epel %buildarch %_libdir %_isa %arch"
stderr is empty and stdout got the warning message [1] and that breaks
the fedora-review script. and with --old-chroot it works !
[1]
/etc/localtime is not a symlink, not updating container timezone.
.fc26 26 %epel %buildarch /usr/lib64 (x86-64) %arch
> Second - using of `use_nspawn` breaks `--shell` option also :(
> It mixes stderr and stdout. Does it hard to fix..?
See above.
--
Sérgio M. B.