azure-agent problems

Pete Wright pete at nomadlogic.org
Thu Aug 13 16:32:44 UTC 2020



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 at nomadlogic.org
@nomadlogicLA



More information about the freebsd-virtualization mailing list