Bug 225861 - net/isc-dhcp43-server: Bad substitution errors when running service -R
Summary: net/isc-dhcp43-server: Bad substitution errors when running service -R
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-13 10:14 UTC by Ari Suutari
Modified: 2018-02-13 15:40 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments
patch rc script so that it handles service -R case correctly (320 bytes, patch)
2018-02-13 10:14 UTC, Ari Suutari
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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