From owner-freebsd-virtualization@FreeBSD.ORG Tue Jun 17 08:40:19 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EECAD2; Tue, 17 Jun 2014 08:40:19 +0000 (UTC) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D34C23C8; Tue, 17 Jun 2014 08:40:18 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id e16so3747014lan.30 for ; Tue, 17 Jun 2014 01:40:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Yg18n1LWiug4JZ6goXoPxkFrwkRNFaqMht8aFi4lHr4=; b=bn0XBcbiohMmE4HAcHny28hMDbc7zceHkwszONHwgQVYGs761C2ncRp5PReNodwVZD xA5D9oRRYtXVvH5XybUqQsNJRo1hLRjvM/mkc6X/bkErH/1bZKft495sIsf6zAH07KXA JdhJB1FtcO/UdZSqv/c/+oEkjwBVvPCwz5BY6Orj1I+3mZNrCMVQpVIiqQikPt7H929w MizjfkPLZ2DVVHa+Fo68gI5VSCdAXF4CUsl/a45mTSPcgm21eCHTWsRzJJfKIQA5vqCt JqiNkiiCqdtdS+pM39s9+VzW8KUam+I7lc6nYJVyRL++zlkmnXNyf9IJ5scmf9CNa7ol KuCw== MIME-Version: 1.0 X-Received: by 10.152.87.20 with SMTP id t20mr297582laz.79.1402994416383; Tue, 17 Jun 2014 01:40:16 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.67.73 with HTTP; Tue, 17 Jun 2014 01:40:16 -0700 (PDT) In-Reply-To: <20140615152008.GA19985@kloomba> References: <20140611182101.GD2855@kloomba> <20140611192514.GE2855@kloomba> <20140612080057.GA93486@kloomba> <20140612190042.GA2858@kloomba> <20140615152008.GA19985@kloomba> Date: Tue, 17 Jun 2014 01:40:16 -0700 X-Google-Sender-Auth: LzSnJe6ArS6YQVDTBYwfNUGeucA Message-ID: Subject: Re: libvirt and bhyve problems From: Craig Rodrigues To: Roman Bogorodskiy Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-testing@freebsd.org" , Roman Bogorodskiy , "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 08:40:19 -0000 On Sun, Jun 15, 2014 at 8:20 AM, Roman Bogorodskiy wrote: > > I have updated the port: > > http://people.freebsd.org/~novel/misc/libvirt_port2.tgz > > Changes are: > > * added RUN_DEPENDS on dnsmasq (required for networking) > * added installation on network definition files Hi, dnsmasq needs to be in BUILD_DEPENDS *and* RUN_DEPENDS for this port. I did a test on my system where I deleted the dnsmasq port, and then built the libvirt port. During the configure stage of this port, the #define DNSMASQ variable is expanded and written to a config.h. If the dnsmasq port is not around during the build stage of the libvirt port, then this variable is not expanded properly, and when the libvirt port is fully built, running libvirtd will not start dnsmasq, because the path to dnsmasq was not written properly to config.h. -- Craig