Description of problem: Running 'wget -q -O out' in the foreground is quiet, but running it in the background isn't: it yields a logfile. This wasn't the case in Fedora 25 (wget-1.18). Version-Release number of selected component (if applicable): wget-1.19.1-3.fc26.x86_64 How reproducible: By comparing running 'wget -q -O out' in the foreground and in the background. Steps to Reproduce: 1. wget -q -O /dev/null nu.nl 2. wget -q -O /dev/null nu.nl & Actual results: The option -q tells wget to be quiet, in the foreground as well as in the background. However, the first command doesn't yield a logfile, the second does: $ wget -q -O /dev/null nu.nl $ wget -q -O /dev/null nu.nl & [1] 24925 Redirecting output to ‘wget-log’. Expected results: In both cases — running 'wget -q -O out' in the foreground and running it in the background — wget should be quiet. Additional info: On Fedora 25, wget (1.18) is quiet when running in the background with options -q and -O. The created logfile is empty (thanks to the -q option), so it's just pollution. Story: on Fedora 25, a shell job that contains 'wget -q -O outputfile URL' doesn't yield a file "wget-log", and it doesn't matter if you run it in the foreground or in the background. This shell job ran each half hour in a terminal in the background. When I switched to Fedora 26 (wget-1.19), to my surprise running the same shell job in a terminal in the background suddenly yielded files wget-log, wget-log.1, wget-log.2 etc. Running the same script in the foreground stopped this behaviour, but the purpose was to run it in the background, like it did on Fedora 25 without yielding a file wget-log. This behaviour is inconsistent, I tell wget to be quiet: $ wget -q -O out URL <ctrl-Z> $ bg Redirecting output to ‘wget-log’. ...This is not my definition of quiet... -q --quiet Turn off Wget's output. ...You can imagine it creates a lot of logfiles when running in a tight loop in a shell script.
This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
Hello, this problem is caused by automatic redirection of logs to default log file when wget runs in background. Unfortunately wget does not check if the quiet option is provided and automatically creates file in initialization of logs. The patch im attaching adds condition to redirection of logs and prevents the creation of file.
Created attachment 1479150 [details] Fix quiet option
Comment on attachment 1479150 [details] Fix quiet option The patch looks good.
wget-1.19.5-5.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-9c4a49af37
wget-1.19.5-5.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c9501d5ea8
wget-1.19.5-5.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-9c4a49af37
wget-1.19.5-5.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c9501d5ea8
wget-1.19.5-5.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
wget-1.19.5-5.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.