[Bug 248651] sysutils/azure-agent latest version 2.2.45_2 has python errors

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 14 02:19:27 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248651

            Bug ID: 248651
           Summary: sysutils/azure-agent latest version 2.2.45_2 has
                    python errors
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: tech-lists at zyxst.net
                CC: weh at microsoft.com
             Flags: maintainer-feedback?(weh at microsoft.com)
                CC: weh at microsoft.com

Hi,

I'm using sysutils/azure-agent on FreeBSD 12.1-p8 on Azure. When it runs, it
throws tons of errors to the console. I initially reported it to
freebsd-virtualization@ see
https://lists.freebsd.org/pipermail/freebsd-virtualization/2020-August/008771.html

I was advised:

"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."

so am reporting it here.

Meanwhile I have stopped most of the errors by symlinking the installed binary
python3.7 to python3 in /usr/local/bin.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list