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

Aberta
#2,664 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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?

Linguagem predominante
Rust
Estrelas
2.3k
Forks
230
Merge médio
2d 11h
PRs com merge (30d)
42

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de bootc-dev/bootc

Todas as issues de bootc-dev/bootc

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.