On Thu, Aug 13, 2020 at 09:32:08AM -0700, Pete Wright wrote:


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.

Hi, thanks for this. I noticed the command interpreter warning as well. I'll
make a bug report.
--
J.

Attachment: signature.asc
Description: PGP signature

Reply via email to