Sun 04 Jun 2017 06:45:12 PM UTC, original submission:
Since upgrading to wget 1.19.1 from wget 1.18 on Arch Linux, the normal progress output is omitted and instead a "wget-log" file is created in some circumstances.
Not sure how exactly this is triggered, I can only reproduce this when starting wget in an initrd.
Steps to reproduce:
1. Create an initrd with "/init" consisting of the script below.
2. Boot the initrd, for example with:
qemu-system-x86_64 -m 1G -M pc,accel=kvm -kernel /boot/vmlinuz-linux -initrd initrd.gz -nographic -serial stdio -monitor none -append console=ttyS0
Expected output:
A status message such as:
--2017-06-04 20:38:57-- http://127.0.0.1/
Connecting to 127.0.0.1:80... failed: Connection refused.
Actual output:
Redirecting output to 'wget-log'.
Other information:
I triggered this problem in my bootstrap script https://github.com/Lekensteyn/archdir. Another affected user report: https://unix.stackexchange.com/q/363765/8250
It could be a regression from commit v1.18-84-gdd5c549f
#!/bin/sh
export PATH=/usr/bin:/usr/sbin
/bin/busybox --install -s
ip link set lo up
mkdir /new
mount -t tmpfs none /new
cp -a /lib* /*bin /usr /etc /new/
chroot /new /usr/bin/wget -O - 127.0.0.1 || :
# Power down
mkdir /proc
mount -t proc none /proc
echo > /proc/sysrq-trigger o
echo should not be reached
|