Go to file
Bogdan Dobrelya 5a58ca5d32 Rework GDPR compliant logrotate config
Set the logrotate maxage parameter to purge_after_days
as well.

Rework additional retention rules of files in
/var/log/containers in the containerized logrotate
postrotate script. The rules are based on any of the
listed criteria met:

* time of last access of contents (atime) exceeds
purge_after_days,
* time of last modification of contents (mtime) exceeds
purge_after_days,
* time of last modification of the inode (metadata, ctime)
exceeds purge_after_days.

Forcibly purge expired files with each containerized
logrotate run triggered via cron. Note that the files creation
time (the Birth attribute) is not taken into account as it
cannot be accessed normally by system operators (depends on FS
type). Retention policies based on the creation time must
be managed elsewhere.

Related-Bug: #1771543

Change-Id: I9afa22f7dd344a29747206b286520a76d70d704b
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-05-24 17:31:15 +00:00
2018-02-28 14:42:12 +08:00
2018-05-15 03:30:14 +00:00
2018-01-31 16:51:36 -08:00
2018-03-19 17:18:16 +01:00
2017-01-25 19:32:31 +00:00
2017-12-16 02:49:05 +00:00
2017-10-06 12:28:56 -07:00
2018-02-28 14:42:12 +08:00

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing

Description
RETIRED, Lightweight composition layer for Puppet TripleO
Readme 63 MiB