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
error: path '/home' is a symlink #912
Comments
urg, ok the installer worked on a VM, look like the problem is with me, what i can do to debug this? |
Looks like upstream has a similar issue reported: NixOS/nix#10247. Although it is about |
the problem is that, i installed nix in a vm(running fedora atomic) and it worked fine, but i tried in bare metal(also using fedora atomic) and it give me this error |
Fixes DeterminateSystems/nix-installer#912 and probably #10247. (cherry picked from commit 09551fa)
how do i update to the master branch? |
This was closed in error -- the fix hasn't yet made it to a released version of Nix yet. |
Fixes DeterminateSystems/nix-installer#912 and probably #10247. (cherry picked from commit 09551fa)
oh, ok thank you! |
Hi all 👋 @cole-h Once the new version with the symlink fix is released, what will be the proper way to update a |
btw installed nix-2.21.2 and everything seen to be working fine, thank you all!, want me to close it now, or wait until the installer get updated? |
On my side after updating to
This is a |
i ran this |
Oh yes, the Determinate installer! Sadly, the SELinux policy they ship breaks In my case, I'm using an alternate method to install Nix as Edit: typo |
i'm literally using fedora kinoite right now, and it update selinux policies from what i read in the installer, what issue you had? (and my nix profile is located in .local/state so i think it's also single-user) |
Moar Kinoite goodness! 💙 TL;DR: I'm not using Kinoite itself, but a close-to-vanilla image that include some batteries. I'm running https://universal-blue.org + https://blue-build.org/. uBlue is a special sauce you pour on top of Anyway, I believe that's enough context. So, the first thing I noticed when running Determinate's installer was that the policy somehow breaks SDDM - i.e. avatars won't show up on the login screen. It also produces some other side effects like:
Can you confirm you're not experiencing any weird stuff on your official Atomic Desktop Kinoite image, like the one I describe above? |
nop, never saw these errors and my sddm is working fine, also you can always rollback if something bad happens no? |
This is super interesting. I downloaded the Fedora Atomic Kinoite 39 (https://download.fedoraproject.org/pub/fedora/linux/releases/39/Kinoite/x86_64/iso/Fedora-Kinoite-ostree-x86_64-39-1.5.iso) image, and the F40 Beta Kinoite image (https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Kinoite/x86_64/iso/Fedora-Kinoite-ostree-x86_64-40_Beta-1.10.iso), and definitely can reproduce the error. Methodology:
The only additional change I made to the Fedora Atomic Desktop 40 Beta Kinoite installation was to switch the Fedora SDDM theme to KDE's theme -- everything else was left untouched: Fedora Atomic Desktop Kinoite 39 Fedora Atomic Desktop Kinoite 40 Beta Edit: I forgot to mention I installed Nix using the same command from #912 (comment) |
oh, that's what you mean by messed?, let me see what happen if i change the sddm theme |
actually @cig0 you already have a VM, make a test for me, reinstall the vm like you did, but DON'T install nix, just create another user like you would you in KDE (going to settings and clicking Add users) and log out to see if the sddm changes |
@Viliansh I reverted all the changes made by the installer by deleting the VM snapshot and booting from the one I took right after updating both systems for the first time. The SDDM background image for F40 Beta Kinoite is the stock one (as I took the VM snapshot before even changing the SDDM theme). HTH! |
hmmm, i can't print it, but i reverted my sddm going to /etc/sddm.conf.d/kde_settings.conf and writing this |
Do you mean after using the installer? |
yep, apparently sddm become that way because the nix-installer create various nix-users, and sddm becomes confused, but i'm not sure, for me it worked |
Note: both the test users I created are now correctly handled by SDDM Purrrfect, I confirm this is the solution. I believe it's an SDDM issue. I will reach out to the SDDM team and let them know about this. Thanks for taking the time to help me troubleshoot this issue, @Viliansh 🚀 |
hello, after following this blog https://julianhofer.eu/blog/01-silverblue-nix/ for how to install nix on ostree based systems, installing with nix-shell work, but when i try to install something with nix-env it return this error
error: path '/home' is a symlink
is this a known issue?,i didn't saw any issue with this same error, only this post https://discourse.nixos.org/t/error-path-home-is-a-symlink/42267/2 that didn't solved my issue, what other info do i need to provide to help?The text was updated successfully, but these errors were encountered: