[Bug 248185] [patch] Fix missing TZ env var for sysutils/rsyslog8

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 22 17:02:55 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248185

            Bug ID: 248185
           Summary: [patch] Fix missing TZ env var for sysutils/rsyslog8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: matthew at FreeBSD.org
          Reporter: zi at FreeBSD.org
          Assignee: matthew at FreeBSD.org
             Flags: maintainer-feedback?(matthew at FreeBSD.org)

Created attachment 216676
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216676&action=edit
Patch to add/set a user-configurable TZ env var

At startup, rsyslogd emits:

rsyslogd[8440] environment variable TZ is not set, auto correcting this to
TZ=/etc/localtime [v8.2006.0 try https://www.rsyslog.com/e/2442 ]

This patch sets TZ, defaulting to /etc/localtime.  It also optionally allows
the user to override it with rsyslogd_tz=".." in rc.conf.

- Set TZ env var at launch
- Bump PORTREVISION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list