Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2020 02:19:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248651] sysutils/azure-agent latest version 2.2.45_2 has python errors
Message-ID:  <bug-248651-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248651

            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@FreeBSD.org
          Reporter: tech-lists@zyxst.net
                CC: weh@microsoft.com
             Flags: maintainer-feedback?(weh@microsoft.com)
                CC: weh@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/0087=
71.html

I was advised:

"Interesting, looking at the Makefile for sysutils/azure-agent - it seems=20
like it should be updating references to /usr/bin/python to the=20
appropriate python binary for your system:

  38                          -e "s,#!/usr/bin/env=20
python,#!${PYTHON_CMD},g" \
  39                          -e "/command_interpreter/=20
s,/usr/local/bin/python,${PYTHON_CMD}    ," \


I would suggest filing a bug report in bugzilla.  I did install it on my=20
local system and the daemon started and found the correct python binary,=20
but when stopping it the following error was printed:

$ sudo service waagent onestop
/usr/local/etc/rc.d/waagent: WARNING: $command_interpreter python3.7 !=3D=20
/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 bin=
ary
python3.7 to python3 in /usr/local/bin.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248651-7788>