bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #51181] Unexpected "Redirecting output to 'wget-log'."


From: Peter Wu
Subject: [Bug-wget] [bug #51181] Unexpected "Redirecting output to 'wget-log'."
Date: Sun, 4 Jun 2017 14:45:14 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

URL:
  <http://savannah.gnu.org/bugs/?51181>

                 Summary: Unexpected "Redirecting output to 'wget-log'."
                 Project: GNU Wget
            Submitted by: lekensteyn
            Submitted on: Sun 04 Jun 2017 06:45:12 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.19.1
        Operating System: GNU/Linux
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: Yes
           Work Required: None
          Patch Included: None

    _______________________________________________________

Details:

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





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51181>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]