← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 2062060] Re: Calamares automatically creates swapfile with manual partitioning without any warning

 

** Changed in: calamares-settings-ubuntu (Ubuntu)
       Status: Triaged => Won't Fix

** Changed in: calamares-settings-ubuntu (Ubuntu)
    Milestone: ubuntu-24.04 => None

** Changed in: calamares-settings-ubuntu (Ubuntu)
     Assignee: Lubuntu Developers (lubuntu-dev) => (unassigned)

** Changed in: calamares-settings-ubuntu (Ubuntu)
   Importance: High => Undecided

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to calamares-settings-ubuntu in Ubuntu.
https://bugs.launchpad.net/bugs/2062060

Title:
  Calamares automatically creates swapfile with manual partitioning
  without any warning

Status in Calamares:
  Unknown
Status in calamares package in Ubuntu:
  Triaged
Status in calamares-settings-ubuntu package in Ubuntu:
  Won't Fix

Bug description:
  In Calamares, when doing Manual Partitioning, there is no option to
  choose whether or not to create a swapfile as there is with the Erase
  Disk option. Instead, one would need to create it outside of the
  installer. However, a swapfile is created nonetheless. This is neither
  indicated in the Partitions panel, nor in the Summary panel, as one
  would expect.

  This appears to be caused by the `initialSwapChoice` value in
  /etc/calamares/modules/partition.conf which is set to `file`. Changing
  it to `none` eliminates the issue.

  So there are two things that need to be fixed here:
   1. Calamares itself needs a change, including one or more of:
      1. Provide an option in Manual Partitioning to choose swapfile options
      2. Show the creation of swapfiles in the Summary panel
      3. Don't consider the value of `initialSwapChoice` when doing Manual Partitioning
   2. calamares-settings-ubuntu should change the value of `initialSwapChoice` to `none`, at least while these bugs in Calamares exist

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: calamares 3.3.5-0ubuntu3
  ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
  Uname: Linux 6.8.0-22-generic x86_64
  .etc.calamares.modules.after_bootloader_context.conf:
   ---
   dontChroot: false
   timeout: 120
   firmwareType:
       "*": "-rm ${ROOT}/home/${USER}/Desktop/lubuntu-calamares.desktop"
  .etc.calamares.modules.finished.conf:
   ---
   restartNowMode: user-checked
   restartNowCommand: "systemctl -i reboot"
  .etc.calamares.modules.fstab.conf:
   crypttabOptions: luks,keyscript=/bin/cat
   efiMountOptions: umask=0077
  .etc.calamares.modules.shellprocess_logs.conf:
   ---
   dontChroot: true
   timeout: 30
   script:
       - calamares-logs-helper ${ROOT}
  .etc.calamares.modules.unpackfs.conf:
   ---
   unpack:
       -   source: "/cdrom/casper/filesystem.squashfs"
           sourcefs: "squashfs"
           destination: ""
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.496
  CurrentDesktop: LXQt
  Date: Wed Apr 17 12:48:11 2024
  LiveMediaBuild: Lubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240415)
  RelatedPackageVersions:
   calamares-settings-ubuntu-common 1:24.04.28
   calamares-settings-lubuntu       1:24.04.28
   xfsprogs                         6.6.0-1ubuntu2
   btrfs-progs                      6.6.3-1.1build2
  SourcePackage: calamares
  UpgradeStatus: No upgrade log present (probably fresh install)

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



References