Skip to content

minifai: fallback to debian-archive-keyring #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

crpb
Copy link
Contributor

@crpb crpb commented May 18, 2025

  • if GRML_FAI_CONFIG isn't in the same tree-depth as the original the relative links in buildstrap-keyring (blame debhelper!) will not be resolveable which makes mmdebstrap fail with keyring=None.

 * if GRML_FAI_CONFIG isn't in the same tree-depth as the original the
   relative links in buildstrap-keyring (blame debhelper!) will not be
   resolveable which makes mmdebstrap fail with keyring=None.
@zeha
Copy link
Member

zeha commented May 18, 2025

imo the right thing to do is to fail early in this case. papering over a file not found issue seems icky

@zeha
Copy link
Member

zeha commented May 21, 2025

If someone provides a short reproducer, I can try to take a closer look.

@mika
Copy link
Member

mika commented May 21, 2025

Friendly ping /cc @youam - would appreciate your feedback here also!

@youam
Copy link

youam commented May 22, 2025

Hey there. Thanks @mika for the nudge; otherwise this would've stayed on my todo-list for a while..

Reproducing this bug is really simple. Boot a fresh grml-full Nudlaug, prepare with the following steps:

cd /mnt
rsync -a /usr/share/grml-live ./
echo GRML_FAI_CONFIG=/mnt/grml-live/config > /etc/grml/grml-live.local

and grml-live will fail in the mmdebstrap step

@crpb
Copy link
Contributor Author

crpb commented May 22, 2025

yeah, like that or via overlay so you don't have to update/merge the whole tree every time.
/etc/fstab

overlay /grml/config overlay x-systemd.automount,x-systemd.mount-timeout=10,x-systemd.idle-timeout=30,lowerdir=/usr/share/grml-live/config,upperdir=/grml/overlay/local,workdir=/grml/overlay/work 0 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants