Project

General

Profile

Bug #9556

logadm timestamps should not leak into the configfile

Added by Sebastian Wiedenroth about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
cmd - userland programs
Start date:
2018-05-28
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

When using wildcard patterns in the configfile logadm will record the timestamps of all matched and rotated files in the timestamp file.
If the config file is then edited using logadm -w or logadm -r these timestamps can not be matched to existing rules in the configfile and will end up beeing written back into it.

This is confusing, especially when the patterns match many files and the configfile becomes huge.

History

#1

Updated by Electric Monk about 2 years ago

  • % Done changed from 80 to 100
  • Status changed from In Progress to Closed

git commit e911f24978ffe03577079badeef02cfc5e9aa296

commit  e911f24978ffe03577079badeef02cfc5e9aa296
Author: Sebastian Wiedenroth <wiedi@frubar.net>
Date:   2018-05-31T21:01:29.000Z

    9556 logadm timestamps should not leak into the configfile
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Andy Fiddaman <af@citrus-it.net>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF