`bootc usr-overlay` should support `/etc/` overlays when `etc.mount = "none"` is set

Abierto
#2,664 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust

Línea de trabajo

Start with the bootc usr-overlay documentation linked in the issue and trace the command's implementation and existing tests for overlay behavior. Check how the command handles /etc/ when etc.mount = "none" and how it exposes temporary changes; the issue suggests a new --etc flag but leaves its behavior and tests to define. Done means the command supports temporary /etc/ changes in this configuration.

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

Descripción

I'm currently testing an image with an immutable /etc/:

# /usr/lib/composefs/setup-root-conf.toml
[etc]
mount = "none"

It's really convenient to use bootc usr-overlay for testing changes in /usr/, but it doesn't currently support /etc/:

https://github.com/bootc-dev/bootc/blob/a6dd03c249d262506d4212b68e76fda37bc9a097/docs/src/man/bootc-usr-overlay.8.md?plain=1#L39-L43

This makes sense with a writable /etc/, but when /etc/ is immutable, it would be nice to have a way to make temporary changes. Perhaps a new --etc flag could be added to bootc usr-overlay to accomplish this?

Lenguaje dominante
Rust
Estrellas
2.3k
Forks
230
Merge medio
2 d 11 h
PR fusionados (30 d)
42

Preparar el entorno

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 bootc-dev/bootc

Todos los issues de bootc-dev/bootc

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.