Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 232830 - /var/log/rpmpkgs occasionally gets zerored out
/var/log/rpmpkgs occasionally gets zerored out
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Panu Matilainen
Depends On:
  Show dependency treegraph
Reported: 2007-03-18 11:04 EDT by Need Real Name
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-09 15:36:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2007-03-18 11:04:28 EDT
Description of problem:
I have noticed that occasionally the file /var/log/rpmpkgs gets truncated to
zero length.

The file can be restored by either running /etc/cron.daily/rpm directly or
waiting until it gets run automatically the next day.

This seems to happen randomly so I am not (yet) sure what precipitates this.
Comment 1 Jeff Johnson 2007-03-18 14:35:13 EDT
Nothing except the cron script touches /var/log/rpmpkgs. Rewrite the
cron script to write to temp file, and mv to rpmpkgs iff the query succeeds,
if you really care.

Comment 2 Panu Matilainen 2007-08-09 15:36:27 EDT
rpm.org script rewritten to avoid truncating the log in case of errors.

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