move archive_master file out of /etc to avoid it being treated as a conffile

Bug #1377184 reported by James Hunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Fix Released
High
Barry Warsaw
system-image (Ubuntu)
Fix Released
High
Barry Warsaw

Bug Description

Currently client.ini specifies:

[gpg]
archive_master: /etc/system-image/archive-master.tar.xz

The problem is that file in /etc are automatically marked as conffiles by debhelper and as such don't get moved into place until the dpkg configure step.

This caused an issue for the initramfs-tools-ubuntu-core package since that Depends on system-image-common (which provides
etc/system-image/archive-master.tar.xz), but when the initramfs-tools-ubuntu-core package was unpacked, this triggered update-initramfs which failed since it needs access to /etc/system-image/archive-master.tar.xz, but that file had not yet been moved into place.

Tags: client

Related branches

Barry Warsaw (barry)
Changed in ubuntu-system-image:
milestone: none → 3.0
status: New → Triaged
importance: Undecided → High
assignee: nobody → Barry Warsaw (barry)
no longer affects: system-image (Ubuntu)
tags: added: client
Revision history for this message
Barry Warsaw (barry) wrote :

Seems like the proper FHS location would be /usr/share/system-image since this is architecture independent data that won't change (except when a new version is installed). I.e. this isn't variable data.

Changed in ubuntu-system-image:
status: Triaged → In Progress
Revision history for this message
Barry Warsaw (barry) wrote :

Added Ubuntu bug task since it will be necessary to make some changes to the packaging branch.

Changed in system-image (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → ubuntu-15.04
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: In Progress → Fix Committed
Barry Warsaw (barry)
Changed in system-image (Ubuntu):
milestone: ubuntu-15.04 → later
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: Fix Committed → Fix Released
no longer affects: system-image (Ubuntu)
Barry Warsaw (barry)
Changed in system-image (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → ubuntu-15.10
Barry Warsaw (barry)
Changed in system-image (Ubuntu):
status: In Progress → Fix Committed
Barry Warsaw (barry)
Changed in system-image (Ubuntu):
status: Fix Committed → 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.