mkinitramfs reproducible fonts uuid

Bug #2008763 reported by Otto Ersek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Dear all,

I am trying to do some reproducible builds of the daily isos and noticed that in chroot with a daily xubuntu Jammy iso mkinitramfs fails to create a reproducible initrd by setting random uuid's and filenames in the initrd:

main/usr/share/fonts/.uuid
main/usr/share/fonts/truetype/.uuid
main/usr/share/fonts/truetype/ubuntu/.uuid

main/usr/local/share/fonts/.uuid

main/var/cache/fontconfig/***random-file-names***

Steve Langasek (vorlon)
affects: ubuntu-cdimage → initramfs-tools (Ubuntu)
Changed in initramfs-tools (Ubuntu):
importance: Undecided → Low
Revision history for this message
Benjamin Drung (bdrung) wrote (last edit ):

Thank you for taking the time to report this bug and helping to make Ubuntu better. I can see the /var/cache/fontconfig files in the initrd on Ubuntu 23.04 as well:

```
$ lsinitramfs /boot/initrd.img | grep -i font
etc/fonts
etc/fonts/conf.d
etc/fonts/conf.d/60-latin.conf
etc/fonts/fonts.conf
usr/bin/setfont
usr/bin/loadfont
usr/lib/x86_64-linux-gnu/libfontconfig.so.1
usr/lib/x86_64-linux-gnu/libfontconfig.so.1.12.0
usr/local/share/fonts
usr/share/fonts
usr/share/fonts/truetype
usr/share/fonts/truetype/ubuntu
usr/share/fonts/truetype/ubuntu/UbuntuMono-Italic[wght].ttf
usr/share/fonts/truetype/ubuntu/UbuntuMono[wght].ttf
usr/share/fonts/truetype/ubuntu/Ubuntu[wdth,wght].ttf
var/cache/fontconfig
var/cache/fontconfig/2300eef321c393bfd76478a5c0e95b23-le64.cache-8
var/cache/fontconfig/3830d5c3ddfd5cd38a049b759396e72e-le64.cache-8
var/cache/fontconfig/4c599c202bc5c08e2d34565a40eac3b2-le64.cache-8
var/cache/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-8
var/cache/fontconfig/CACHEDIR.TAG
```

Changed in initramfs-tools (Ubuntu):
status: New → Triaged
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.