The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
--- Begin Message ---
here is the output from the sysupgrade with the additional change and ubus 
monitor as suggested. This is tested with the development snapshot from the 
30th of December: r11832-c48b571ad7


root@OpenWrt:~# sysupgrade -v 
https://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2711/openwrt-brcm2708-bcm2711-rpi-4-ext4-sysupgrade.img.gz
wget: SSL support not available, please install one of the 
libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates 
packages.
Image metadata not found
Use sysupgrade -F to override this check when downgrading or flashing to vendor 
firmware
Reading partition table from bootdisk...
Reading partition table from image...
Invalid partition table on /tmp/image.bs
Failed to parse message data
sh: out of range
Saving config files...
boot/config.txt
etc/config/dhcp
etc/config/dropbear
etc/config/firewall
etc/config/network
etc/config/system
etc/config/wireless
etc/dropbear/dropbear_rsa_host_key
etc/group
etc/hosts
etc/inittab
etc/opkg/keys/0b26f36ae0f4106d
etc/opkg/keys/1035ac73cc4e59e3
etc/opkg/keys/5151f69420c3f508
etc/opkg/keys/72a57f2191b211e0
etc/opkg/keys/792d9d9b39f180dc
etc/opkg/keys/9ef4694208102c43
etc/opkg/keys/b2d571e0880ff617
etc/opkg/keys/b5043e70f9a75cde
etc/opkg/keys/c10b9afab19ee428
etc/opkg/keys/dace9d4df16896bf
etc/opkg/keys/dd6de0d06bbd3d85
etc/opkg/keys/f94b9dd6febac963
etc/passwd
etc/profile
etc/rc.local
etc/shadow
etc/shells
etc/sysctl.conf
Commencing upgrade. Closing all shell sessions.
-> e8d7994a #e8d7994a          hello: {}
<- e8d7994a #00000000         lookup: {"objpath":"system"}
-> e8d7994a #00000000           data: 
{"objpath":"system","objid":619517119,"objtype":1675602203,"signature":{"board":{},"info":{},"reboot":{},"watchdog":{"frequency":5,"timeout":5,"magicclose":7,"stop":7},"signal":{"pid":5,"signum":5},"validate_firmware_image":{"path":3},"sysupgrade":{"path":3,"force":7,"backup":3,"prefix":3,"command":3,"options":2}}}
-> e8d7994a #00000000         status: {"status":0}
<- e8d7994a #24ed14bf         invoke: 
{"objid":619517119,"method":"sysupgrade","data":{"prefix":"/tmp/root","path":"/tmp/sysupgrade.img","backup":"/tmp/sysupgrade.tgz","command":"/lib/upgrade/do_stage2","options":{"save_partitions":1}}}
-> 35669f7b #e8d7994a         invoke: 
{"objid":619517119,"method":"sysupgrade","data":{"prefix":"/tmp/root","path":"/tmp/sysupgrade.img","backup":"/tmp/sysupgrade.tgz","command":"/lib/upgrade/do_stage2","options":{"save_partitions":1}},"user":"root","group":"root"}
<- 35669f7b #e8d7994a           data: 
{"objid":619517119,"data":{"error":{"message":"Firmware image couldn't be 
validated"}}}
{
        "error": {
                "message": "Firmware image couldn't be validated"
        }
}
-> e8d7994a #24ed14bf           data: 
{"objid":619517119,"data":{"error":{"message":"Firmware image couldn't be 
validated"}}}
Command failed: Unknown error
<- 35669f7b #e8d7994a         status: {"status":9,"objid":619517119}
-> e8d7994a #24ed14bf         status: {"status":9,"objid":619517119}
root@OpenWrt:~#


> On 30 Dec 2019, at 23:56, Petr Štetiar <yn...@true.cz> wrote:
> 
> Petr Novák <pe...@me.com> [2019-12-30 20:43:36]:
> 
> Hi,
> 
>> I will do my best to reproduce the issue giving more details, I will post
>> any more details here tomorrow.
> 
> if I may, can you do following for the start:
> 
> 1. add following change (changing it directly on device right before step 2.
>   should be enough):
> 
> diff --git a/package/base-files/files/usr/libexec/validate_firmware_image
> b/package/base-files/files/usr/libexec/validate_firmware_image
> index f85fb9e4b435..aed9cdfd64b5 100755
> --- a/package/base-files/files/usr/libexec/validate_firmware_image
> +++ b/package/base-files/files/usr/libexec/validate_firmware_image
> @@ -62,5 +62,6 @@ json_init
>         json_add_boolean valid "$VALID"
>         json_add_boolean forceable "$FORCEABLE"
>         json_add_boolean allow_backup "$ALLOW_BACKUP"
> +json_dump -i >&2
>  json_dump -i
>  json_set_namespace $old_ns
> 
> 2. run:
> 
> $ ubus monitor &
> $ sysupgrade -v openwrt-brcm2708-bcm2711-rpi-4-squashfs-sysupgrade.img.gz
> 
> and send the output, thanks!
> 
> -- ynezz



--- End Message ---
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to