apt key is stored in the wrong place

Bug #1912801 reported by Igor
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Fix Released
Undecided
Unassigned

Bug Description

After the latest subiquity update which includes the latest curtin, my autoinstallation script stopped working.

After looking at the error log, I found that curtin stores the apt key I provide for my repo in the wrong place. It just puts it in the target's root directory instead of /etc/apt/trusted.gpg.d/.
It looks like the following commit broke this: https://github.com/canonical/curtin/commit/e099e32c5757b7aa0bc4fc2aeddb91d195a6df2b

I submitted a PR to fix the issue: https://github.com/canonical/curtin/pull/3/files

Related branches

Revision history for this message
Ryan Harper (raharper) wrote :

Hi,

Thanks for filing a bug! The github curtin repository is a read-only mirror; at this time fixes to curtin are done through launchpad, instructions for contributing are available here:

https://curtin.readthedocs.io/en/latest/topics/hacking.html

Could you provide the portion of your autoinstall script where you specify the key so we can reproduce the issue?

I think the fix looks good; but would like to reproduce and then your fix can also include an update to the unittests to ensure we don't break this workflow again.

Thanks!

Changed in curtin:
status: New → Incomplete
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Fixed in curtin version 21.2.

This bug is believed to be fixed in curtin in version 21.2. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in curtin:
status: Incomplete → 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.