Activity log for bug #2017313

Date Who What changed Old value New value Message
2023-04-21 20:45:14 Zoe bug added bug
2023-04-21 21:05:11 Zoe description Snapd appears to mount `/etc/fonts/conf.d`, and an `ls` of it will show all files in the directory. However, if one rules `fc-conflist` and compare it to the same command on the host system, one will see that not all of the files that are loaded on the host system are loaded within the snap. Since all the files in this directory are symlinks, it turns out the ones that are loaded are in `/etc/fonts/conf.avail`, but the ones that *aren't* loaded are in `/usr/share/fontconfig/conf.avail`. This causes the font matching rules to be subtly different between the host OS and the snap ecosystem. On Lunar, this causes (for instance) the Steam Snap to choose `Free Serif` over `Liberation` fonts, causing the UI to look very incorrect, but also affects other programs in principle. Snapd appears to mount `/etc/fonts/conf.d`, and an `ls` of it will show all files in the directory. However, if one rules `fc-conflist` and compare it to the same command on the host system, one will see that not all of the files that are loaded on the host system are loaded within the snap. Since all the files in this directory are symlinks, it turns out the ones that are loaded are in `/etc/fonts/conf.avail`, but the ones that *aren't* loaded are in `/usr/share/fontconfig/conf.avail`. This causes the font matching rules to be subtly different between the host OS and the snap ecosystem. On Lunar, this causes (for instance) the Steam Snap to choose `Free Serif` over `Liberation` fonts, causing the UI to look very incorrect, but also affects other programs in principle. Edit: This file should be allowed (via AppArmor's <abstractions/fonts>, line 24), but isn't working for some reason.
2023-04-21 21:14:36 Zoe description Snapd appears to mount `/etc/fonts/conf.d`, and an `ls` of it will show all files in the directory. However, if one rules `fc-conflist` and compare it to the same command on the host system, one will see that not all of the files that are loaded on the host system are loaded within the snap. Since all the files in this directory are symlinks, it turns out the ones that are loaded are in `/etc/fonts/conf.avail`, but the ones that *aren't* loaded are in `/usr/share/fontconfig/conf.avail`. This causes the font matching rules to be subtly different between the host OS and the snap ecosystem. On Lunar, this causes (for instance) the Steam Snap to choose `Free Serif` over `Liberation` fonts, causing the UI to look very incorrect, but also affects other programs in principle. Edit: This file should be allowed (via AppArmor's <abstractions/fonts>, line 24), but isn't working for some reason. Snapd appears to mount `/etc/fonts/conf.d`, and an `ls` of it will show all files in the directory. However, if one rules `fc-conflist` and compare it to the same command on the host system, one will see that not all of the files that are loaded on the host system are loaded within the snap. Since all the files in this directory are symlinks, it turns out the ones that are loaded are in `/etc/fonts/conf.avail`, but the ones that *aren't* loaded are in `/usr/share/fontconfig/conf.avail`. This causes the font matching rules to be subtly different between the host OS and the snap ecosystem. On Lunar, this causes (for instance) the Steam Snap to choose `Free Serif` over `Liberation` fonts, causing the UI to look very incorrect, but also affects other programs in principle. Edit: This file is definitely allowed (via AppArmor's <abstractions/fonts>, line 24), and attempting to access the directory (or files in it) doesn't produce any denials, but it doesn't appear to exist.
2023-06-06 15:40:08 Sergio Cazzolato snapd: status New Confirmed
2023-06-06 15:40:11 Sergio Cazzolato snapd: importance Undecided High
2023-06-06 16:20:20 Sergio Cazzolato snapd: importance High Medium
2023-06-06 16:20:26 Sergio Cazzolato snapd: status Confirmed Triaged
2023-06-06 19:35:57 Sergio Cazzolato snapd: status Triaged In Progress