While the manual update via
swupdate -v -k /usr/lib/swupdate/swupdate-pub.pem -i update-rt_0.1.swu -e "stable,nvme0n1p3"
works just fine, the automatically triggered USB update does not work. As I have to point out the inactive partition I must invoke swupdate-client with -e like this:
swupdate-client -v /mnt/*.swu -e "stable,nvme0n1p3"
Nov 22 17:06:01 machine systemd[1]: Started usb media swupdate service.
Nov 22 17:06:01 machine audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=swupdate-usb@sda1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 22 17:06:01 machine swupdate.sh[498]: 0<7>[TRACE] : SWUPDATE running : [network_thread] : Incoming network request: processing...
Nov 22 17:06:01 machine swupdate.sh[498]: 0<3>[ERROR] : SWUPDATE failed [0] ERROR : Selection stable,nvme0n1p3 is not allowed, rejected !
Nov 22 17:06:01 machine sh[598]: swupdate_async_start returns -1
Nov 22 17:06:01 machine systemd[1]: swupda...@sda1.service: Main process exited, code=exited, status=1/FAILURE
Nov 22 17:06:01 machine systemd[1]: mnt.mount: Succeeded.
Nov 22 17:06:01 machine systemd[1]: swupda...@sda1.service: Failed with result 'exit-code'.
The log tells me
ERROR : Selection stable,nvme0n1p3 is not allowed, rejected !
which I don't understand, as it works via swupdate directly. What is wrong here?