Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Request: Add teardown function

Open
#4,491 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
linux, python

Research direction

Start by tracing archinstall's setup paths for LVM, LUKS_ON_LVM, LVM_ON_LUKS, standalone LUKS, and standalone volume groups to identify how /mnt and related resources are created. Add teardown handling for each combination, then verify that an installation can be retried without rebooting the ISO or host.

Written by the indexing model from the issue text.

Description

describe the request

Currently when LVM or LUKS or a combination of them are selected. /mnt is left hanging on the host

Cleaning this up properly would allow for faster iteration (especially when testing new modifications to archinstall). I believe there is just a small dance depending on if its LUKS_ON_LVM LVM_ON_LUKS or just vg or just LUKS.

But since we create this, we should be able to close it properly.

This also relates to #4035 in the way that you'd want to be able to retry installs with new changes quickly without rebooting the ISO/host (git pull changes, retry patch kinda deal).

Dominant language
Python
Stars
8.5k
Forks
774
Avg merge
4d 17h
Merged PRs (30d)
30

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from archlinux/archinstall

All issues in archlinux/archinstall

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.