Bug 13565 - logrotate.d/linuxconf requires missingok.
logrotate.d/linuxconf requires missingok.
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: linuxconf (Show other bugs)
7.1
i386 Linux
high Severity high
: ---
: ---
Assigned To: Nalin Dahyabhai
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-07-07 08:00 EDT by Pekka Savola
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-07-24 09:32:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Pekka Savola 2000-07-07 08:00:35 EDT
Linuxconf logrotate.d entries need missingok or equivalent in them; if
you never use linuxconf, root will still get mailed his dosage of errors..
Comment 1 Nalin Dahyabhai 2000-07-19 10:20:14 EDT
The %post script for linuxconf creates these logs, so they're there.
Comment 2 Pekka Savola 2000-07-24 07:15:50 EDT
(beta4, linuxconf-1.19r1-7)

Clean install is fine; upgrade is not.

After an _upgrade_ of RH60 and/or RH62, I got mails like:
---
errors occured while rotating /var/log/htmlaccess.log

stat of /var/log/htmlaccess.log failed: No such file or directory
---
errors occured while rotating /var/log/netconf.log

stat of /var/log/netconf.log failed: No such file or directory
---

---
# rpm -V linuxconf
SM5....T c /etc/conf.linuxconf
---

This might be caused by the fact that in RH6x, those files are in package list,
but in betas they should be touched in post-install.
Comment 3 Nalin Dahyabhai 2000-07-24 09:32:08 EDT
Okay, that's bad, because that means an older version of the package
is *removing* that file on uninstall.  I'll have to add a trigger to get around
it.
Comment 4 Nalin Dahyabhai 2000-07-24 09:40:19 EDT
Trigger should be in linuxconf-1.19r1-9 and later.

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