Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2015 17:06:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196547] [Patch] net/ist-dhcpd43-server chrootdir modification to make use of rc.d/syslogd's syslogd_altlog_proglist
Message-ID:  <bug-196547-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: bugzilla.freebsd@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196547-13>