[Bug 196547] [Patch] net/ist-dhcpd43-server chrootdir modification to make use of rc.d/syslogd's syslogd_altlog_proglist

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 6 17:06:25 UTC 2015


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

            Bug ID: 196547
           Summary: [Patch] net/ist-dhcpd43-server chrootdir modification
                    to make use of rc.d/syslogd's syslogd_altlog_proglist
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: bugzilla.freebsd at omnilan.de

Created attachment 151401
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151401&action=edit
Redefine _rootdir to _chrootdir for rc.conf

In etc/rc.d/syslogd, there is altlog_proglist, resp. syslogd_altlog_proglist in
syslogd_precmd(). This places an additional log socket for chrooted daemons
(like named and dhcpd).
To make use of this nice feature, dhcpd_rootdir must be overweritten
unconditionally in rc.conf _and_ it must read dhcpd_chrootdir (instead of
chcopd_rootdir).

The attached simple patch incorporates this and removes the default rootdir
setting, since this was never respected by rc.d/syslogd.

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


More information about the freebsd-ports-bugs mailing list