← Back to team overview

curtin-dev team mailing list archive

[Bug 1892242] [NEW] Curtin doesn't handle swap partitions properly

 

Public bug reported:

The following line fails on swap partitions, because their type is
mount, but their path is not defined.

https://github.com/canonical/curtin/blob/2f78ee9e16891fd67497bc3e9b68109a4282bb89/curtin/commands/curthooks.py#L560

** Affects: curtin
     Importance: Undecided
         Status: New

** Attachment added: "curtin install log"
   https://bugs.launchpad.net/bugs/1892242/+attachment/5402857/+files/install.log.gz

-- 
You received this bug notification because you are a member of curtin
developers, which is subscribed to curtin.
https://bugs.launchpad.net/bugs/1892242

Title:
  Curtin doesn't handle swap partitions properly

Status in curtin:
  New

Bug description:
  The following line fails on swap partitions, because their type is
  mount, but their path is not defined.

  https://github.com/canonical/curtin/blob/2f78ee9e16891fd67497bc3e9b68109a4282bb89/curtin/commands/curthooks.py#L560

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1892242/+subscriptions


Follow ups