Date: Thu, 13 Oct 2016 21:20:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213463] [patch] isc-dhcpd rc script does not play nice with service -e Message-ID: <bug-213463-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213463 Bug ID: 213463 Summary: [patch] isc-dhcpd rc script does not play nice with service -e Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: 000.fbsd@quip.cz Keywords: patch Created attachment 175723 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175723&action= =3Dedit Patch to play nice with service -e As I reported in PR #207811 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207811 Command "service -e" does not show some services. isc-dhcpd is one of them, because service -e are using eval on some grep output. name=3D${name##*/isc-} is not properly evaluated. There is easy fix I found in rc.d/openvpn and added the same things in to rc.d/isc-dhcpd. There is also problem with function names starting with word "rcvar": rcvar_chuser rcvar_chroot rcvar_pidnleases rcvar_rooted They are renamed to=20 _rcvar_chuser _rcvar_chroot _rcvar_pidnleases _rcvar_rooted You can choose another named not starting with "rcvar" PS: I am no sure if it is right or not - current isc-dhcpd has load_rc_conf= ig ${name} twice. One is after paranoia=3Dyes at the begining of the file and = one at the end of file. --=20 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-213463-13>