Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2015 15:40:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203771] net/isc-dhcp42-server and /usr/sbin/service do not fully co-operate
Message-ID:  <bug-203771-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: bartsch@dssgmbh.de
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@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.



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