Layout silently fails on refresh

Bug #2056731 reported by Nathan Teodosio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Zygmunt Krynicki

Bug Description

Chromium fails to find /usr/share/libdrm/amdgpu.ids, even though that is provided by the gnome-42-2204 content snap and

--->
  /usr/share/libdrm:
    bind: $SNAP/gnome-platform/usr/share/libdrm
<---

is present in Chromium's snapcraft.yaml.

I added a workaround from Firefox to Chromium's beta and edge channels:

--->
    override-stage: |
      # Workaround copied from Firefox for empty libdrm LP:2054887 LP:2055273
      # https://git.launchpad.net/~mozilla-snaps/firefox-snap/+git/firefox-snap/commit/?id=00059b6a9aea8e4ce5a239bd9e649f60736dd947
      mkdir $CRAFT_PART_INSTALL/gnome-platform
<---

but that still fails to solve the issue if the user refreshes from stable to beta/edge, it only works if the snap is first removed and then installed again.

The impact of this bug is that it might mislead the snap developer or affected user into thinking that a bug caused by the absence of such bind-mount is not fixed instead of realizing that the problem is in Snapd.

Zygmunt Krynicki (zyga)
Changed in snapd:
assignee: nobody → Zygmunt Krynicki (zyga)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.