From owner-freebsd-virtualization@freebsd.org Thu Aug 13 16:32:44 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 420DB37E14F for ; Thu, 13 Aug 2020 16:32:44 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BSBty4lnYz4VYZ for ; Thu, 13 Aug 2020 16:32:42 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.159] (cpe-23-243-161-111.socal.res.rr.com [23.243.161.111]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 81488c30 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 13 Aug 2020 16:32:35 +0000 (UTC) Subject: Re: azure-agent problems To: freebsd-virtualization@freebsd.org References: <20200813024653.GC72347@bastion.zyxst.net> From: Pete Wright Message-ID: Date: Thu, 13 Aug 2020 09:32:35 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200813024653.GC72347@bastion.zyxst.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4BSBty4lnYz4VYZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-1.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.58)[-0.577]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_SHORT(-0.06)[-0.060]; NEURAL_HAM_MEDIUM(-0.54)[-0.544]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[23.243.161.111:received] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 13 Aug 2020 16:32:44 -0000 On 8/12/20 7:46 PM, tech-lists wrote: > Hi, > > azure-agent seems to be looking for python3. Is it sufficient to ln -s > /usr/local/bin/python3.7 to python3 ? FreeBSD is 12.1-p8 > Interesting, looking at the Makefile for sysutils/azure-agent - it seems like it should be updating references to /usr/bin/python to the appropriate python binary for your system:  38                          -e "s,#!/usr/bin/env python,#!${PYTHON_CMD},g" \  39                          -e "/command_interpreter/ s,/usr/local/bin/python,${PYTHON_CMD}    ," \ I would suggest filing a bug report in bugzilla.  I did install it on my local system and the daemon started and found the correct python binary, but when stopping it the following error was printed: $ sudo service waagent onestop /usr/local/etc/rc.d/waagent: WARNING: $command_interpreter python3.7 != /usr/local/bin/python3.7 Stopping waagent. Waiting for PIDS: 57412. $ so it looks like there may be an inconsistency somewhere. -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA