Bug 215735 - sysutils/munin-node: Fix default Postfix maillog location
Summary: sysutils/munin-node: Fix default Postfix maillog location
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mathieu Arnold
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-01-03 14:52 UTC by VK
Modified: 2017-01-03 15:21 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mat)
vlad-fbsd: merge-quarterly?


Attachments
Fix default postfix plugins log file path (364 bytes, patch)
2017-01-03 14:52 UTC, VK
vlad-fbsd: maintainer-approval? (mat)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description VK freebsd_triage 2017-01-03 14:52:30 UTC
Created attachment 178480 [details]
Fix default postfix plugins log file path

The munin-node postfix_* plugins that require the location of the Postfix mail log combine LOGDIR/LOGFILE into full log path, so default env.logfile set by plugin-conf.d/plugins.conf must not be absolute path.

The patch fixes it by defaulting env.logfile to just "maillog" which then combines with default logdir into /var/log/maillog. That's the default Postfix log path on FreeBSD.
Comment 1 commit-hook freebsd_committer 2017-01-03 15:16:58 UTC
A commit references this bug:

Author: mat
Date: Tue Jan  3 15:16:21 UTC 2017
New revision: 430477
URL: https://svnweb.freebsd.org/changeset/ports/430477

Log:
  Fix postfix's logfile, it is supposed to be the filename, not the full
  path.

  PR:		215735
  Submitted by:	Vladimir Krstulja
  Sponsored by:	Absolight

Changes:
  head/sysutils/munin-node/Makefile
  head/sysutils/munin-node/files/plugins.conf.in
Comment 2 commit-hook freebsd_committer 2017-01-03 15:21:03 UTC
A commit references this bug:

Author: mat
Date: Tue Jan  3 15:20:02 UTC 2017
New revision: 430478
URL: https://svnweb.freebsd.org/changeset/ports/430478

Log:
  MFH: r430477

  Fix postfix's logfile, it is supposed to be the filename, not the full
  path.

  PR:		215735
  Submitted by:	Vladimir Krstulja
  Sponsored by:	Absolight

Changes:
_U  branches/2017Q1/
  branches/2017Q1/sysutils/munin-node/Makefile
  branches/2017Q1/sysutils/munin-node/files/plugins.conf.in