Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Automated install can silently fail to format the root partition and fill the live tmpfs

Abierto
#181 0 comentarios 0 reacciones 0 asignados Ver en GitHub

@ggiesen ya está trabajando en esto.

Desde el 24/6/2026.

  • #184 de @ggiesen — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
linux

Línea de trabajo

Start at partitioning.full_disk_format(), called by radio_automated and the manual unpartitioned-disk prompt. Trace the udev wait, mkfs status, and do_mount() handling, then inspect the linked fix. Done means formatting failures are not swallowed and a plain automated install does not copy into the live tmpfs.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

In the guided "Automated Installation" (erase a disk), full_disk_format() formats each new partition without waiting for udev to settle after parted's partition-table rescan and without checking the mkfs return code. mkfs can race a momentarily-removed partition node; because the failure is swallowed, the root mount then fails silently and the file copy lands in the live session's tmpfs, filling it until ENOSPC.

Affected path

GUI "Automated Installation — erase a disk and install" (radio_automated), and the auto-format prompt for an unpartitioned disk in manual partitioning. Both call partitioning.full_disk_format().

Impact

Intermittent. On a plain (non-encrypted) automated install the root filesystem is never created, so do_mount() mounts nothing (its return code is not checked) and rsync copies the system into the live overlay until the disk-full error. Whether it triggers depends on udev timing after each parted mkpart. For LUKS/LVM the root partition is reformatted later by cryptsetup luksFormat / pvcreate, so the silent tmpfs-fill is specific to the plain install; those layouts still benefit for the EFI/boot partitions full_disk_format() creates.

Root cause

After each parted call the loop only waits for the node to appear; it does not wait for udev to finish a rescan that briefly removes and recreates the partition nodes, and it discards the mkfs return code. A format that races a vanished node is silently tolerated, leaving the partition unformatted.

Found while developing #180. Fix in the linked PR.

Lenguaje dominante
HTML
Estrellas
63
Forks
64
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de linuxmint/live-installer

Todos los issues de linuxmint/live-installer

Issues similares

Más issues de Operating Systems

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.