Snapd won't bind mount /usr/share/libdrm from Gnome snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Chromium snap connects to gnome-42-2204 content snap[1]. It needs, among other things, /usr/share/
The gnome extension[2] is supposed to bind-mount the /usr/share/libdrm directory, but it remains empty:
--->
% snap connections chromium
content[
% snap run --shell chromium
nteodosio@
total 0
drwxr-xr-x 2 root root 40 Feb 28 10:21 .
drwxr-xr-x 71 root root 1420 Feb 28 10:21 ..
<---
This is regardless of whether I add
--->
layout:
/usr/
bind: $SNAP/gnome-
<---
to Chromium's snapcraft.yaml[3].
I think this might be a bug in Snapd as it's failing to mount the directory.
[1] https:/
[2] https:/
[3] https:/
Adding to my confusion, Firefox' snapcraft.yaml[1] has the very same layout specified, and in 'snap run --shell firefox' /usr/share/ libdrm/ amdgpu. ids exists!
[1] https:/ /git.launchpad. net/~mozilla- snaps/firefox- snap/+git/ firefox- snap/tree/ snapcraft. yaml#n113