Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2024 17:25:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280980] sysutils/amazon-ssm-agent freebsd-update fails when run by amazon-ssm-agent
Message-ID:  <bug-280980-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 280980
           Summary: sysutils/amazon-ssm-agent freebsd-update fails when
                    run by amazon-ssm-agent
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cperciva@FreeBSD.org
          Reporter: amendlik@gmail.com
          Assignee: cperciva@FreeBSD.org
             Flags: maintainer-feedback?(cperciva@FreeBSD.org)

When running `freebsd-update` using the SSM Agent, the process fails with t=
he
following output. I have seen this both when attempting to use the
`firstboot_freebsd_update` service, and when running `freebsd-update` direc=
tly.

Here is the command I'm using: su -l root -c 'service firstboot_freebsd_upd=
ate
onestart'

And the output:
freebsd-update 6284 - - src component not installed, skipped
freebsd-update 6284 - - Looking up aws.update.FreeBSD.org mirrors... 1 mirr=
ors
found.
freebsd-update 6284 - - Fetching metadata signature for 14.1-RELEASE from
dualstack.aws.update.freebsd.org... done.
freebsd-update 6284 - - Fetching metadata index... done.
freebsd-update 6284 - - Inspecting system... done.
rm: tmpfile: No such file or directory
rm: tmpfile: No such file or directory
sha256: tmpfile: No such file or directory
[: !=3D: unexpected operator
/usr/sbin/freebsd-update: cannot open tmpfile: No such file or directory
rm: tmpfile: No such file or directory
rm: tmpfile: No such file or directory
rm: tmpfile: No such file or directory
rm: tmpfile: No such
---Error truncated----

--=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-280980-7788>