-
-
Notifications
You must be signed in to change notification settings - Fork 764
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
Command: make tools, error #139
Comments
Git 2.35.2 was given a patch for CVE-2022-24765. This now requires you to set a safe directory configuration in the .git/config file.
|
Thank you for reporting and providing the solution, I can reproduce this on my machine. The tools container is convenient for users who do not have Nix installed, however I'm starting to think it's a leaky abstraction 🤔 (there have been a few Docker/Podman-specific issues that do not exist if we run Nix directly) |
- adjusted tools in Makefile to add the safe.directory argument to the docker run command in order to fix the error regarding ownership (Refer to khuedoan#139)
- adjusted tools in Makefile to add the safe.directory argument to the docker run command in order to fix the error regarding ownership (Refer to khuedoan#139)
Describe the bug
I have been using Homelab since 2022. I rebuilt to the current build of May 2023 and haven't updated since then. You have made a lot of changes since May 2023 so I decided to rebuild from scratch. I Wiped the controller device I use to run the build commands which in the process of using your latest, also wiped the nodes during the PXE boot. All good things. However, when I attempt to run 'make tools', I get the following error:
I have no idea why this is happening, it is a fresh fork as well.
I have verified that my user, brimdor, has ownership of the path.
I do not know how to reproduce this behavior besides attempting to build a brand new setup.
Expected behavior
It's supposed to create the nix container and allow me to start the build process in it.
The last time I posted about a Nix issue, it was cache. That didn't apply here as there is no cache for the first run. I still ran the command you gave me last time:
docker volume rm homelab-tools-cache homelab-tools-nix
The text was updated successfully, but these errors were encountered: