Core22 gnome extension: mount binding


is there a way to change (reorder or disable some) layout bindings for gnome extension with core22? (in order to suppress “/usr/share/libdrm/amdgpu.ids: No such file or directory” message)

AFAIR layout entries are re-ordered internally. Perhaps you can share more information as this likely indicates there’s a bug somewhere in the stack.

Sure, for example with gnome-calculator

% lsb_release -c
No LSB modules are available.
Codename:       mantic

% snap list | egrep 'gnome-|snapd '
gnome-42-2204              0+git.ff35a85         141    latest/stable  canonical**    -
gnome-calculator           45.0.2                955    latest/stable  canonical**    -
snapd                      2.61.1                20671  latest/stable  canonical**    snapd

% /snap/bin/gnome-calculator &
[1] 57470
/usr/share/libdrm/amdgpu.ids: No such file or directory

% egrep '(/gnome-platform|/usr/share/libdrm) ' /run/snapd/ns/snap.gnome-calculator.fstab
/snap/gnome-calculator/955/gnome-platform/usr/share/libdrm /usr/share/libdrm none rbind,rw,x-snapd.origin=layout 0 0
/snap/gnome-42-2204/141 /snap/gnome-calculator/955/gnome-platform none bind,ro 0 0
/usr/share/libdrm /usr/share/libdrm none rbind,x-snapd.synthetic,x-snapd.needed-by=/usr/share/xml/iso-codes,x-snapd.detach 0 0

The same “no such file or directory” is with my gtk4 app packed with base core22 and gnome extension. If look at it in snap shell, there’s no files in /usr/share/libdrm dir despite that amdgpu.ids is present in core22 and gnome too.

Supposedly it’s the same issue with mount order as it described here

or I missed something obvious

Is there any updates how to avoid getting “/usr/share/libdrm/amdgpu.ids: No such file or directory" with core22+gnome extension ?