Bug 234796 - net/isc-dhcp44-server: eval: ${/...}: Bad substitution
Summary: net/isc-dhcp44-server: eval: ${/...}: Bad substitution
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: 2019-01-09 18:39 UTC by Jose Luis Duran
Modified: 2021-03-04 19:56 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Luis Duran 2019-01-09 18:39:16 UTC
The rc script in the isc-dhcpd service throws

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

when all services are restarted (using `service -R`)

To reproduce:

    $ pkg install isc-dhcp44-server
    $ service isc-dhcpd enable
    $ service -R
Comment 1 Thomas Steen Rasmussen / Tykling 2019-05-22 09:47:06 UTC
This was already fixed in net/isc-dhcp43-server in #225861 with a small patch https://svnweb.freebsd.org/ports/head/net/isc-dhcp43-server/files/isc-dhcpd.in?r1=461710&r2=461709&pathrev=461710

The same patch should be applied to isc-dhcp44-server :)
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-05-22 12:31:33 UTC
A commit references this bug:

Author: zi
Date: Wed May 22 12:31:27 UTC 2019
New revision: 502265
URL: https://svnweb.freebsd.org/changeset/ports/502265

Log:
  - Fix error when calling 'service -R'
  - Bump PORTREVISION

  PR:		234796
  Reported by:	Jose Luis Duran <jlduran@gmail.com>

Changes:
  head/net/isc-dhcp44-server/Makefile
  head/net/isc-dhcp44-server/files/isc-dhcpd.in
Comment 3 bergerkos 2021-03-04 19:54:43 UTC
Sorry, but now it is "eval: ${dhcpd....} Bad substitution". Though the fix described above IS there.
BTW, the same happens to openvpn.
Comment 4 bergerkos 2021-03-04 19:56:05 UTC
I'm talking about isc-dhcp44-server