Bug 1234358 - /var/log/messages rotated but processes still writing to old file
Summary: /var/log/messages rotated but processes still writing to old file
Keywords:
Status: CLOSED DUPLICATE of bug 1224972
Alias: None
Product: Fedora
Classification: Fedora
Component: rsyslog
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Heinrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-22 12:25 UTC by Jonathan Wakely
Modified: 2016-09-20 04:52 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-28 06:54:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Wakely 2015-06-22 12:25:41 UTC
Description of problem:

I booted my machine up this morning and several log files seem to have rolled, however processes are still writing to the old version of the file. (Similar to Bug 917560).

I have an empty /var/log/messages, but lots of info in /var/log/messages-20150622, which lsof shows is still in use:

# lsof | fgrep messages
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
rsyslogd    935          root    3w      REG              253,0  58066589    1981473 /var/log/messages-20150622
in:imjour   935   964    root    3w      REG              253,0  58066589    1981473 /var/log/messages-20150622
rs:main     935   965    root    3w      REG              253,0  58066589    1981473 /var/log/messages-20150622

Shouldn't those processes have been sent a SIGHUP when the log rolled, so they write to /var/log/messages instead?


Version-Release number of selected component (if applicable):

logrotate-3.8.8-1.fc22.x86_64
rsyslog-8.8.0-2.fc22.x86_64

Comment 1 Stefan Becker 2015-06-28 06:54:21 UTC

*** This bug has been marked as a duplicate of bug 1224972 ***


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