Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

cron issue, does "delaycompress" in logrotate.conf helps?

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
toralf
Developer
Developer
User avatar
Posts: 3944
Joined: Sun Feb 01, 2004 2:58 pm
Location: Hamburg
Contact:
Contact toralf
Website

cron issue

  • Quote

Post by toralf » Sun Jul 07, 2019 9:28 am

SInce I while I do get 1-2 times per week via email a warning like this

Code: Select all

error: Compressing program wrote following message to stderr when compressing log /var/log/debug-20190707:
gzip: stdin: file size changed while zipping
error: Compressing program wrote following message to stderr when compressing log /var/log/user.log-20190707:
gzip: stdin: file size changed while zipping
from user "Anacron" - the mail to me has the subject "Anacron job 'cron.daily' on t44".

I do wonder why and by which (ebuild) change caused this issues starts to happen and how to solve it?
Last edited by toralf on Mon Jul 22, 2019 7:38 am, edited 1 time in total.
Top
skunk
l33t
l33t
User avatar
Posts: 646
Joined: Wed May 28, 2003 11:24 pm
Location: granada, spain
Contact:
Contact skunk
Website

  • Quote

Post by skunk » Sun Jul 07, 2019 11:47 am

not sure which change did cause this, but i've solved it by adding "delaycompress" to the corresponding logrotate configuration inside /etc/logrotate.d...
Top
toralf
Developer
Developer
User avatar
Posts: 3944
Joined: Sun Feb 01, 2004 2:58 pm
Location: Hamburg
Contact:
Contact toralf
Website

  • Quote

Post by toralf » Sun Jul 07, 2019 12:02 pm

skunk wrote:not sure which change did cause this, but i've solved it by adding "delaycompress" to the corresponding logrotate configuration inside /etc/logrotate.d...
Hhm, good hint, I added that config option to /etc/logrotate.conf - will see, if it helps.
Update Putting it there caused problems now with other log files, but putting it into /etc/logrotate.d/syslog-ng just for user.log seems to be an option. /Update
And I updated that package: logrotate-3.14.0: Sun Apr 8 20:02:23 2018
Top
Post Reply

3 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic