Jump to content

Recommended Posts

Posted

Ramlog.service postrotate will execute a cat from /var/log.hdd directory to /var/log directory while rsyslog.service is always outputting stuffs in the background to /var/log directory. This in general has no problem except for some files which are mostly preoccupied with output from rsyslog during logrotate activation, namely syslog and a varieties of journals entries. I have found some of these postrotate failures with cryptic messages as write errors from cat and corresponding rsyslogd omfile module stating lost messages. I suspect two independent processes competing to send output to same files hence causing these errors. I don't know enough of detail but I think there needs to be some coordination between rsyslog and that postrotate function in ramlog to avoid this conflict.

<

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines