Bug 225861

Summary: net/isc-dhcp43-server: Bad substitution errors when running service -R
Product: Ports & Packages Reporter: Ari Suutari <ari>
Component: Individual Port(s)Assignee: Ryan Steinmetz <zi>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (zi)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch rc script so that it handles service -R case correctly none

Description Ari Suutari 2018-02-13 10:14:06 UTC
Created attachment 190573 [details]
patch rc script so that it handles service -R case correctly

After installing & configuring isc-dhcp43-server it works otherwise ok, but when restarting services with service -R following errors are spitted out:

eval: ${/...}: Bad substitution
eval: ${/...}: Bad substitution

Attached patch fixes the issue, it is caused by rc script not handling this kind of invocation correctly when it tries to guess the rc script name.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-02-13 15:40:08 UTC
A commit references this bug:

Author: zi
Date: Tue Feb 13 15:39:45 UTC 2018
New revision: 461710
URL: https://svnweb.freebsd.org/changeset/ports/461710

Log:
  - Fix rc script when using service -R

  PR:		225861
  Submitted by:	Ari Suutari

Changes:
  head/net/isc-dhcp43-server/Makefile
  head/net/isc-dhcp43-server/files/isc-dhcpd.in