-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
stage-2-init: directory contains user files. Symlinking may fail. #56932
Comments
The warning being thrown is caused by the The following script https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/etc/setup-etc.pl#L82 If there is a potential conflict (because, for example, you manually put a file in To find out what's up, I would suggest running |
No. To give an overview how boot works, this is the stage-2 script: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/stage-2-init.sh it sets up mounts, and then it calls: The activation script is built up by the collection of causing |
This looks like #54980? |
Close for no more warning after update nix-channel (unstable)
|
Issue description
Recently I've got
Symlinking may file
warning atstage 2
I don't remembering making any file at
/etc
, and my user doesn't even have permission to doThere is no noticeably error or anything other than warning at
stage-2
boot screen but I have some question./etc
atstage-1
?stage-2
begin so that I can check ?/etc
I failed to find any information about NixOS boot stages in the manual that I can use to lean more about my case, any additional recommendation would be appreciated.
Steps to reproduce
Don't sure if it would reproducible but in my case warning are popup on every boot.
Technical details
"x86_64-linux"
Linux 4.14.103, NixOS, 19.09pre170705.1233c8d9e9b (Loris)
yes
yes
nix-env (Nix) 2.2
"nixos-19.09pre170705.1233c8d9e9b"
""
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: