Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2020 09:32:35 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: azure-agent problems
Message-ID:  <f656f2ff-ffbb-9c91-1437-70e30f060735@nomadlogic.org>
In-Reply-To: <20200813024653.GC72347@bastion.zyxst.net>
References:  <20200813024653.GC72347@bastion.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f656f2ff-ffbb-9c91-1437-70e30f060735>