From owner-freebsd-ports@FreeBSD.ORG Tue Aug 30 16:40:43 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BD0D106566C for ; Tue, 30 Aug 2011 16:40:43 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id E9D3E8FC1D for ; Tue, 30 Aug 2011 16:40:42 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6E36128424; Tue, 30 Aug 2011 18:40:41 +0200 (CEST) Received: from [192.168.1.2] (ip-86-49-61-235.net.upcbroadband.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 8B0E028423; Tue, 30 Aug 2011 18:40:40 +0200 (CEST) Message-ID: <4E5D1288.9010104@quip.cz> Date: Tue, 30 Aug 2011 18:40:40 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: mandree@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: openvpn-2.2.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2011 16:40:43 -0000 Hi, I noticed a problem with rc script for openvpn-2.2.1 on recent FreeBSD 8-STABLE (Aug 13 20:33:31 CEST 2011). It failed to restart if I have the following in rc.conf openvpn_bp_office_if="tap bridge" # service openvpn_bp_office restart Stopping openvpn_bp_office. Waiting for PIDS: 75580. kldload: can't load if_bridge: File exists /usr/local/etc/rc.d/openvpn_bp_office: WARNING: Could not load bridge module. /usr/local/etc/rc.d/openvpn_bp_office: WARNING: failed precmd routine for openvpn_bp_office The problem is, that if_bridge.ko is already loaded, but the kldload routine in rc script will not detect it, because if_bridge has not debug.if_bridge_debug sysctl entry. (older version of rc script works fine with kldstat -m if_bridge) So I have a question - why the rc script is not using required_modules variable from /etc/rc.subr which is there exactly for this purpose? Miroslav Lachman