[Bug 203771] net/isc-dhcp42-server and /usr/sbin/service do not fully co-operate

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 14 15:40:02 UTC 2015


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

            Bug ID: 203771
           Summary: net/isc-dhcp42-server and /usr/sbin/service do not
                    fully co-operate
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi at FreeBSD.org
          Reporter: bartsch at dssgmbh.de
             Flags: maintainer-feedback?(zi at FreeBSD.org)
          Assignee: zi at FreeBSD.org

after installing the port and enabling the dhcpd service in /etc/rc.conf:
dhcpd_enable="YES"
"service -e" doesn't list this service, as it should.
Inspecting the start script "/usr/local/etc/rc.d/isc-dhcpd" I stumbled upon the
line #27:

name=${name##*/isc-}

$name is not initialized in the "service -e" environment (eval `grep ^name=
/usr/local/etc/rc.d/isc-dhcpd`), so this results in an empty string instead of
"dhcpd" as it should read, thus this service is not recognized as enabled.

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


More information about the freebsd-ports-bugs mailing list