It seems I have almost the same problem on my side using Yocto Hardknott on raspberrypi4-64 platform:
Jun 09 13:01:42 raspberrypi4-64 kernel: audit: type=1334 audit(1623243702.719:8): prog-id=11 op=LOAD
Jun 09 13:01:42 raspberrypi4-64 kernel: audit: type=1334 audit(1623243702.719:9): prog-id=12 op=LOAD
Jun 09 13:01:42 raspberrypi4-64 kernel[190]: [ 12.348517] audit: type=1334 audit(1623243702.719:8): prog-id=11 op=LOAD
Jun 09 13:01:42 raspberrypi4-64 kernel[190]: [ 12.357947] audit: type=1334 audit(1623243702.719:9): prog-id=12 op=LOAD
Jun 09 13:01:42 raspberrypi4-64 systemd[1]: Started Hostname Service.
Jun 09 13:01:44 raspberrypi4-64 systemd[1]: Created slice system-sshd.slice.
Jun 09 13:01:44 raspberrypi4-64 systemd[1]: Started OpenSSH Per-Connection Daemon (
10.0.0.197:58387).
Jun 09 13:01:47 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [do_get_state] : Read state=3 from persistent storage.
Jun 09 13:01:47 raspberrypi4-64 swupdate.sh[195]: [ERROR] : SWUPDATE failed [0] ERROR : Channel get operation failed (6): 'Couldn't resolve host name'
Jun 09 13:01:47 raspberrypi4-64 swupdate.sh[195]: [INFO ] : SWUPDATE running : [server_start] : Sleeping for 10s until retrying...
Jun 09 13:01:57 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [do_get_state] : Read state=3 from persistent storage.
Jun 09 13:01:57 raspberrypi4-64 swupdate.sh[195]: [ERROR] : SWUPDATE failed [0] ERROR : Channel get operation failed (6): 'Couldn't resolve host name'
Jun 09 13:01:57 raspberrypi4-64 swupdate.sh[195]: [INFO ] : SWUPDATE running : [server_start] : Sleeping for 10s until retrying...
Jun 09 13:02:07 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [do_get_state] : Read state=3 from persistent storage.
Jun 09 13:02:07 raspberrypi4-64 swupdate.sh[195]: [ERROR] : SWUPDATE failed [0] ERROR : Channel get operation failed (6): 'Couldn't resolve host name'
Jun 09 13:02:07 raspberrypi4-64 swupdate.sh[195]: [INFO ] : SWUPDATE running : [server_start] : Sleeping for 10s until retrying...
Jun 09 13:02:07 raspberrypi4-64 systemd-journald[121]: Forwarding to syslog missed 1 messages.
Jun 09 13:02:12 raspberrypi4-64 systemd[1]: systemd-hostnamed.service: Succeeded.
Jun 09 13:05:20 raspberrypi4-64 audit: BPF prog-id=12 op=UNLOAD
Jun 09 13:05:20 raspberrypi4-64 audit: BPF prog-id=11 op=UNLOAD
Jun 09 13:05:20 raspberrypi4-64 kernel: audit: type=1334 audit(1623243920.438:10): prog-id=12 op=UNLOAD
Jun 09 13:05:20 raspberrypi4-64 kernel: audit: type=1334 audit(1623243920.438:11): prog-id=11 op=UNLOAD
Jun 09 13:05:20 raspberrypi4-64 kernel[190]: [ 42.736730] audit: type=1334 audit(1623243920.438:10): prog-id=12 op=UNLOAD
Jun 09 13:05:20 raspberrypi4-64 kernel[190]: [ 42.743867] audit: type=1334 audit(1623243920.438:11): prog-id=11 op=UNLOAD
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [network_thread] : Incoming network request: processing...
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [INFO ] : SWUPDATE started : Software Update started !
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [network_initializer] : Software update started
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_file_to_tmp] : Found file
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_file_to_tmp] : filename sw-description
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_file_to_tmp] : size 1151
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [get_common_fields] : Version 0.1.0
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [parse_hw_compatibility] : Accepted Hw Revision : 1.0
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [_parse_images] : Found compressed Image: u-cam-image-raspberrypi4-64.ext4.gz in device : /dev/mmcblk0p2 for handler raw
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [_parse_scripts] : Found Script: emmcsetup.lua
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [_parse_bootloader] : Bootloader var: rpipart = 2
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [check_hw_compatibility] : Hardware raspberrypi4-64 Revision: 1.0
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [check_hw_compatibility] : Hardware compatibility verified
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_files] : Found file
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_files] : filename emmcsetup.lua
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_files] : size 1692 required
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_files] : Found file
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_files] : filename u-cam-image-raspberrypi4-64.ext4.gz
Jun 09 13:05:21 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_files] : size 80564306 required
Jun 09 13:05:25 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [do_get_state] : Read state=3 from persistent storage.
Jun 09 13:05:25 raspberrypi4-64 swupdate.sh[195]: [ERROR] : SWUPDATE failed [0] ERROR : Channel get operation failed (6): 'Couldn't resolve host name'
Jun 09 13:05:25 raspberrypi4-64 swupdate.sh[195]: [INFO ] : SWUPDATE running : [server_start] : Sleeping for 10s until retrying...
Jun 09 13:05:35 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [do_get_state] : Read state=3 from persistent storage.
Jun 09 13:05:35 raspberrypi4-64 swupdate.sh[195]: [ERROR] : SWUPDATE failed [0] ERROR : Channel get operation failed (6): 'Couldn't resolve host name'
Jun 09 13:05:35 raspberrypi4-64 swupdate.sh[195]: [INFO ] : SWUPDATE running : [server_start] : Sleeping for 10s until retrying...
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [extract_padding] : Expecting 304 padding bytes at end-of-file
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [network_initializer] : Valid image found: copying to FLASH
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [INFO ] : SWUPDATE running : Installation in progress
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [start_lua_script] : Calling Lua /tmp/scripts/emmcsetup.lua
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[243]: sh: line 1: /usr/sbin/sfdisk: No such file or directory
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] info()
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] umount()
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] error()
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] warn()
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] notify()
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] RECOVERY_STATUS: FAILURE = 4.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] RECOVERY_STATUS: RUN = 2.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] RECOVERY_STATUS: IDLE = 0.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] RECOVERY_STATUS: DOWNLOAD = 5.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] RECOVERY_STATUS: DONE = 6.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] RECOVERY_STATUS: SUBPROCESS = 7.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] RECOVERY_STATUS: PROGRESS = 7.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] RECOVERY_STATUS: SUCCESS = 3.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] RECOVERY_STATUS: START = 1.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] trace()
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] ROOT_DEVICE: UUID = 1.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] ROOT_DEVICE: PARTUUID = 2.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] ROOT_DEVICE: PARTLABEL = 3.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] ROOT_DEVICE: PATH = 0.0
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] getroot()
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] debug()
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [lua_dump_table] : (1) [table ] mount()
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [LUAstackDump] : (2) [string] /tmp/scripts/emmcsetup.lua:65: attempt to perform arithmetic on a nil value (global 'start')
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [ERROR] : SWUPDATE failed [0] ERROR : ERROR Calling Lua script /tmp/scripts/emmcsetup.lua
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [ERROR] : SWUPDATE failed [0] ERROR : execute preinstall scripts failed
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [ERROR] : SWUPDATE failed [1] Installation failed !
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [network_initializer] : Main thread sleep again !
Jun 09 13:05:38 raspberrypi4-64 swupdate.sh[195]: [INFO ] : No SWUPDATE running : Waiting for requests...
Jun 09 13:05:45 raspberrypi4-64 swupdate.sh[195]: [TRACE] : SWUPDATE running : [do_get_state] : Read state=3 from persistent storage.
Jun 09 13:05:45 raspberrypi4-64 systemd-journald[121]: Forwarding to syslog missed 63 messages.
Jun 09 13:05:45 raspberrypi4-64 swupdate.sh[195]: [ERROR] : SWUPDATE failed [0] ERROR : Channel get operation failed (6): 'Couldn't resolve host name'
Jun 09 13:05:45 raspberrypi4-64 swupdate.sh[195]: [INFO ] : SWUPDATE running : [server_start] : Sleeping for 10s until retrying...
Do you know if it is curl related?
Regards,
Jerome