-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Kernel panic resulting from a possible precedence issue #77
Comments
|
Where is this stated to be a necessary file? I'm running all my systems on tmpfs as root and ZFS for persistence mounted in where needed. I've never even looked at this file before. |
Yeah, the |
Exiting with an error in the activation script causes the whole script to fail and system boot thus fails with a kernel panic. Since the point of exiting with an error is mainly to make the systemd service fail, let's do it only when the script runs as a service. Fixes #77
Exiting with an error in the activation script causes the whole script to fail and system boot thus fails with a kernel panic. Since the point of exiting with an error is mainly to make the systemd service fail, let's do it only when the script runs as a service. Fixes #77
Can you try out #84 and see if it solves your issue? |
Hi!
I was previously using impermanence pinned to commit 5855884 and, having seen the recent improvements to the module, decided to update to commit ff540db.
Unfortunately, somewhere in between, possibly due to the addition of #44, I believe that the
/etc/NIXOS
file, which I currently have configured to be persisted, as it is stated to be necessary for NixOS to recognize its own root partition, became involved in a precedence issue, where it causes NixOS to panic due to its potentially premature loading. The following screenshot exemplifies this occurrence (sorry for the poor quality but, as I do not havesystemctl
logs persisted, I am unable to directly copy the relevant log lines):What occurs after the
/etc/NIXOS
clash is that systemd is not found and the boot process is aborted.I apologize for the vagueness of my explanation, but I am at a loss as to what else may be the root cause of this issue, as well as any potential workarounds.
The text was updated successfully, but these errors were encountered: