Bug 36329 - В пакете отсутствует скрипт для logrotate
Summary: В пакете отсутствует скрипт для logrotate
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: mcelog (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-21 12:30 MSK by Sergey Y. Afonin
Modified: 2019-03-21 17:10 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Y. Afonin 2019-03-21 12:30:02 MSK
Предлагаю пока такой:

/var/log/mcelog {
    rotate 7
    compress
    daily
    nocreate
    postrotate
        /sbin/service mcelog condrestart >/dev/null 2>/dev/null
    endscript
}
Comment 1 Anton Farygin 2019-03-21 12:36:04 MSK
Спасибо, сейчас добавлю.
Comment 2 Repository Robot 2019-03-21 17:10:20 MSK
mcelog-162-alt1 -> sisyphus:

Thu Mar 21 2019 Anton Farygin <rider@altlinux.ru> 162-alt1
- 159 -> 162
- fixed condreload target in initscript (closes: #36328)
- logrotate setting has been moved from cron to main package (closes: #36329)
- updated logrotate settings from ALT bug #36329