Snap layout change between snap version

Hi, we update a snap from this:

**rev 1.0.1**
system-usernames:
    snap_daemon: shared

layout:
    /var/lib/test_data:
        bind: $SNAP_DATA/test_data
    /var/lib/test_common:
        bind: $SNAP_COMMON/test_common
    /var/test_tmpfs:
        type: tmpfs

parts:
    test-part:
        plugin: dump
        source: ./test_dir
        organize :
            test: usr/bin/
        stage:
            - usr

apps:
    testapp:
        command: usr/bin/test
        daemon: simple
        restart-condition: never
        plugs:
            - network
            - network-bind

to this:

**rev 1.0.2**
architectures:
  - build-on: amd64
    run-on: arm64

system-usernames:
    snap_daemon: shared

layout:
    /var/test_tmpfs:
        type: tmpfs

parts:
    test-part:
        plugin: dump
        source: ./test_dir
        organize :
            test: usr/bin/
        stage:
            - usr

apps:
    testapp:
        command: usr/bin/test
        daemon: simple
        restart-condition: never
        plugs:
            - network
            - network-bind

So we change only the layout section of snapcraft.yaml. We install revision 1.0.1 by using dangerous mode so there isn’t refresh from store. When we install revision 1.0.2 by using dangerous mode and we execute: snap run --shell test-app.test-part.

The shell hangs and we have to hit ctrl-c. Any idea?

Thanks

Hi, any support on this? I can share snaps or snapcraft.yaml if needed. Thanks