[Bug 258004] newsyslog(8): please make sending a HUP signal to syslogd(8) optional.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 23 Aug 2021 11:10:49 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258004

            Bug ID: 258004
           Summary: newsyslog(8): please make sending a HUP signal to
                    syslogd(8) optional.
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs_at_FreeBSD.org
          Reporter: laszlo_at_karolyi.hu

Hey,

on my FreeBSD box I use jails for which one global syslogd on the host that is
responsible for collecting the logs through /dev/log.

The daemons that run in the jails, are configured to log under /var/log
respectively.

I use newsyslog(8) to rotate their logs, but because of the aforementioned
situation, there is no syslogd(8) within the jail to send a HUP signal to. 

Newsyslog won't run without it being able to send a HUP signal to syslogd so as
a workaround, I've specified it `-S /var/run/cron.pid` to send the signal to
cron (which does nothing normally).

My humble request would be, please make the sending of a HUP signal to syslogd
optional. Not every jail I use has cron running in it, and so log rotation can
become a pain.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Aug 23 2021 - 11:10:49 UTC

Original text of this message