Date: Mon, 04 Apr 2016 21:54:15 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208534] security/openvpn rc.d script breaks "service -R" on 10.3-RELEASE Message-ID: <bug-208534-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208534 Bug ID: 208534 Summary: security/openvpn rc.d script breaks "service -R" on 10.3-RELEASE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mandree@FreeBSD.org Reporter: allan@saddi.com Flags: maintainer-feedback?(mandree@FreeBSD.org) Assignee: mandree@FreeBSD.org On 10.3-RELEASE, performing a "service -R" stops with the following error: /usr/sbin/service: ERROR: USAGE: load_rc_config_var name var when openvpn is installed. I've narrowed it down to the way the name variable is defined in the rc scr= ipt: name=3D"${name##*/}" I realize openvpn does it this way to support multiple instances. /usr/sbin/service under 10.3-RELEASE has an additional check now that trips over this: if [ -n "$rcvar" ]; then load_rc_config_var ${name} ${rcvar} fi For now, I am working around this issue by editing the rc script and setting name directly to "openvpn". --=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-208534-13>