Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 508526

Summary: www-servers/lighttpd - provide logrotate.d entry that works with systemd
Product: Gentoo Linux Reporter: SÅ‚awomir Nizio <slawomir.nizio>
Component: Current packagesAssignee: Alex Alexander (RETIRED) <wired>
Status: RESOLVED FIXED    
Severity: normal CC: hwoarang, kkretschmer, systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix reload after log rotation under systemd

Description SÅ‚awomir Nizio 2014-04-23 14:29:20 UTC
This package installs systemd file, yet its logrotate file assumes OpenRC.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2014-05-02 10:58:05 UTC
+*lighttpd-1.4.35-r1 (02 May 2014)
+
+  02 May 2014; Pacho Ramos <pacho@gentoo.org> +files/lighttpd.logrotate-r1,
+  +lighttpd-1.4.35-r1.ebuild, files/lighttpd.service:
+  Handle systemd in logrotate file (#508526 by SN)
+
Comment 2 Karsten Kretschmer 2015-02-13 08:07:11 UTC
Created attachment 396316 [details, diff]
fix reload after log rotation under systemd

Reloading after log rotation does not work under systemd. Patch attached.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2015-02-21 21:11:45 UTC
You really shouldn't comment on such an old bug. I only saw this by pure luck

I fixed it anyway. Thank you for your contribution.