Skip to content
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

Debian Bookworm Root on ZFS - caveat unmerged system dirs #514

Open
flaki opened this issue Jul 7, 2024 · 2 comments
Open

Debian Bookworm Root on ZFS - caveat unmerged system dirs #514

flaki opened this issue Jul 7, 2024 · 2 comments

Comments

@flaki
Copy link

flaki commented Jul 7, 2024

From this issue, it looks like at some point I broke the system when I moved it to ZFS root. I believe it was either:

  • debootstrap bookworm /mnt did not correctly set up merged system dirs (e.g. symlinking /bin to /usr/bin)
  • or I have followed "An alternative to using debootstrap is to copy the entirety of a working system into the new ZFS root." without making sure that symlinks were copied verbatim hence breaking the system in future updates

Not exactly sure which one happened but might be worth further investigating and noting this in the doc.

@mbiebl
Copy link

mbiebl commented Jul 8, 2024

Which version of debootstrap did you use? Is it one that defaults to --merged-usr?

@gmelikov
Copy link
Member

gmelikov commented Jul 9, 2024

Hmm, I've installed it several years ago, it's ok for me

$ ls /bin -dl
lrwxrwxrwx 1 root root 7 May 17  2022 /bin -> usr/bin

Maybe we should remove An alternative to using debootstrap is to copy the entirety of a working system into the new ZFS root. part entirely.

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

No branches or pull requests

3 participants