Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#43252 - [mailgraph] Update mailgraph.target to use journalctl instead of syslog
Attached to Project:
Community Packages
Opened by Bernhard Kainz (bka) - Sunday, 28 December 2014, 11:37 GMT
Last edited by Florian Pritz (bluewind) - Monday, 29 December 2014, 20:10 GMT
Opened by Bernhard Kainz (bka) - Sunday, 28 December 2014, 11:37 GMT
Last edited by Florian Pritz (bluewind) - Monday, 29 December 2014, 20:10 GMT
|
DetailsDescription:
Actually mailgraph will not work with systemd/journalctl. To change this /usr/lib/systemd/system/mailgraph.target has to be updated like this: diff mailgraph.service mailgraph.service.upto20141228 2c2,4 < ExecStart=/bin/bash -c 'LANG=C /usr/bin/journalctl -af | /usr/bin/mailgraph.pl -c --daemon-rrd /var/lib/mailgraph -l -' --- > ExecStart=/usr/bin/mailgraph.pl -l /var/log/everything.log --daemon-rrd /var/lib/mailgraph > # FIXME: doesn't work > #ExecStart=/bin/bash -c '/usr/bin/journalctl -af | /usr/bin/mailgraph.pl -c -l -' Additional info: * package version(s): community/mailgraph 1.14-3 |
This task depends upon
Closed by Florian Pritz (bluewind)
Monday, 29 December 2014, 20:10 GMT
Reason for closing: Implemented
Additional comments about closing: mailgraph 1.14-4
Monday, 29 December 2014, 20:10 GMT
Reason for closing: Implemented
Additional comments about closing: mailgraph 1.14-4
sorry, my mistake, yes I meant the mailgraph.service. Here is a diff -u form a fresh installation:
diff -u mailgraph.service.upto20141228 mailgraph.service
--- mailgraph.service.upto20141228 2014-12-28 18:02:00.841633188 +0100
+++ mailgraph.service 2014-12-28 18:02:36.341573751 +0100
@@ -1,5 +1,5 @@
[Service]
-ExecStart=/usr/bin/mailgraph.pl -l /var/log/everything.log --daemon-rrd /var/lib/mailgraph
+ExecStart=/bin/bash -c 'LANG=C /usr/bin/journalctl -af | /usr/bin/mailgraph.pl -c --daemon-rrd /var/lib/mailgraph -l -'
# FIXME: doesn't work
#ExecStart=/bin/bash -c '/usr/bin/journalctl -af | /usr/bin/mailgraph.pl -c -l -'
Do you need more information?
Bernhard