Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497448 - app-admin/syslog-ng-3.4.7 - logrotate script fails with systemd
Summary: app-admin/syslog-ng-3.4.7 - logrotate script fails with systemd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-07 21:05 UTC by Chris Mayo
Modified: 2014-01-22 04:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
File for /etc/logrotate.d/ (syslog-ng.logrotate.systemd,247 bytes, text/plain)
2014-01-07 21:05 UTC, Chris Mayo
Details
Patch to ebuild to install systemd logrotate file (syslog-ng-3.4.7.ebuild_add_systemd_logrotate.patch,436 bytes, patch)
2014-01-07 21:05 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2014-01-07 21:05:00 UTC
Created attachment 367326 [details]
File for /etc/logrotate.d/

/etc/init.d/syslog-ng[14740]: touch /run/openrc/softlevel
 /etc/init.d/syslog-ng[14739]: If you really want to do this, issue the following command:
 /etc/init.d/syslog-ng[14737]: In this situation, you will get unpredictable results!
 /etc/init.d/syslog-ng[14736]: another initialization system to boot this system.
 /etc/init.d/syslog-ng[14735]: You may be inside a chroot or you may have used
 /etc/init.d/syslog-ng[14734]: system which openrc did not boot.
 /etc/init.d/syslog-ng[14733]: You are attempting to run an openrc service on a
 run-crons[14708]: (root) CMD (/etc/cron.daily/logrotate)


New logrotate.d for systemd and patch to ebuild to install it attached that works for me.
Comment 1 Chris Mayo 2014-01-07 21:05:40 UTC
Created attachment 367328 [details, diff]
Patch to ebuild to install systemd logrotate file