Netboot artifacts for older dailies are overwritten by the latest daily

Bug #2120484 reported by Chris Peterson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CD Images
Fix Released
Undecided
Unassigned

Bug Description

As the title states, netboot artifacts for older dailies are being updated when the latest daily gets published.

On inspection, it appears that the netboot artifacts are hardlinks to the same file:

$ ls -i www/full/ubuntu-server/daily-live/2025080{5,6,7}/questing-netboot-amd64.tar.gz
2267718 www/full/ubuntu-server/daily-live/20250805/questing-netboot-amd64.tar.gz
2267718 www/full/ubuntu-server/daily-live/20250806/questing-netboot-amd64.tar.gz
2267718 www/full/ubuntu-server/daily-live/20250807/questing-netboot-amd64.tar.gz

My understanding of the code is that new daily directories are created by copying older builds using hard links to preserve artifacts untouched by a rebuild [0].

What appears to be happening is that the netboot tarball is being updated in place[1], thus causing all of the other dailies to be updated.

[0] https://git.launchpad.net/ubuntu-cdimage/tree/lib/cdimage/tree.py#n1985
[1] https://git.launchpad.net/ubuntu-cdimage/tree/lib/cdimage/tree.py#n105

Chris Peterson (cpete)
Changed in ubuntu-cdimage:
status: New → In Progress
assignee: nobody → Chris Peterson (cpete)
Chris Peterson (cpete)
Changed in ubuntu-cdimage:
status: In Progress → New
assignee: Chris Peterson (cpete) → nobody
Chris Peterson (cpete)
Changed in ubuntu-cdimage:
status: New → Fix Released
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.