Bug 2015249 - NGINX logrotate leads to "gzip: stdin: file size changed while zipping"
Summary: NGINX logrotate leads to "gzip: stdin: file size changed while zipping"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nginx
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Felix Kaechele
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2015243 2015250
TreeView+ depends on / blocked
 
Reported: 2021-10-18 18:03 UTC by Robert Scheck
Modified: 2021-10-29 23:08 UTC (History)
9 users (show)

Fixed In Version: nginx-1.20.1-8.fc34 nginx-1.20.1-8.fc33 nginx-1.20.1-8.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-27 02:08:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2015243 1 unspecified CLOSED NGINX logrotate leads to "gzip: stdin: file size changed while zipping" 2023-05-09 09:26:01 UTC
Red Hat Bugzilla 2015250 1 unspecified CLOSED NGINX logrotate leads to "gzip: stdin: file size changed while zipping" 2023-04-14 09:10:29 UTC

Description Robert Scheck 2021-10-18 18:03:16 UTC
Description of problem:
NGINX logrotate may end like this:

--- snipp ---
/etc/cron.daily/logrotate:

error: Compressing program wrote following message to stderr when compressing log /var/log/nginx/access.log-20211017:
gzip: stdin: file size changed while zipping
--- snapp ---

Version-Release number of selected component (if applicable):
nginx-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Ensure NGINX logging to /var/log/nginx/access.log

Actual results:
NGINX logrotate leads to "gzip: stdin: file size changed while zipping"

Expected results:
NGINX logrotate must not lead to "gzip: stdin: file size changed while zipping"

Additional info:
This has been cloned from bug #2015243 but seems to be applicable to Fedora, too.

Comment 1 Fedora Update System 2021-10-19 00:40:25 UTC
FEDORA-2021-e4dbeb2fd8 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e4dbeb2fd8

Comment 2 Fedora Update System 2021-10-19 00:40:26 UTC
FEDORA-2021-c739f71850 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c739f71850

Comment 3 Fedora Update System 2021-10-19 00:40:27 UTC
FEDORA-2021-ff3c6456d8 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ff3c6456d8

Comment 4 Fedora Update System 2021-10-19 16:13:06 UTC
FEDORA-2021-e4dbeb2fd8 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e4dbeb2fd8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e4dbeb2fd8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-10-19 16:22:57 UTC
FEDORA-2021-c739f71850 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-c739f71850`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-c739f71850

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-10-20 13:47:46 UTC
FEDORA-2021-ff3c6456d8 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ff3c6456d8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ff3c6456d8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-10-27 02:08:55 UTC
FEDORA-2021-e4dbeb2fd8 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2021-10-27 03:04:28 UTC
FEDORA-2021-c739f71850 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2021-10-29 23:08:40 UTC
FEDORA-2021-ff3c6456d8 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.