-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
140edd2 breaks btrfs subvolumes needed for boot on my machine #310
Comments
ah, it was hard to find out in which cases we should emit a warning, sorry for that. generally people are encouraged to check the upgrade-guide |
I wonder if we should make some sort of releases so that people can actually read the upgraded guides before upgrading. |
@GenericNerdyUsername , thanks for the bug report. I've just had the same issue today so it helped me find the solution quickly. @Mic92 , I think it's a great idea. I've been using On my side I have an If there are breaking changes, such as this one, it would be really nice to enforce the user to make a conscious choice if they want to update. Releases sounds like a good way to do it. In this particular case, I would say that this might have been avoided by making auto-mount opt-out instead of opt-in (e.g. |
I was the one who originally added subvol mounts and made it happen by default, but it's different behavior from all of the other types and it's not explicit what is being mounted and what isn't. I've since regretted that decision and endorsed the breaking change (might as well rip the bandage off now rather than later when even more people use disko) We definitely should do more to communicate to users when breaking changes occur, though (e.g. semver, warnings, etc) |
I just got bit by it and it really scared me. The warning did not show up until I manually loaded the configuration in the nix repl and inspected all the disko options after finally figuring out that my nix store was missing from I'd like something either akin to |
As this issue is over a year old, it's unlikely that anyone will hit this again, and as I understand we can't really fix it either, as that would also be a breaking change. However, I think your suggestions regarding handling breaking changes are very valid, so I opened #833 for this. Let's continue the discussion there :) |
/etc/nixos#nixosConfigurations.nixos.config.fileSystems
before and after the commit.My
disk-config.nix
:I'm pretty sure the problem is that
disko.devices.lvm_vg.pool.lvs.root.content.subvolumes.rootfs
has amountpoint
and the others don't, but I feel at least an eval warning is needed here if there's a breaking change.The text was updated successfully, but these errors were encountered: