bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Daemon: nix-connection-error


From: Ludovic Courtès
Subject: Re: Daemon: nix-connection-error
Date: Sun, 23 Jun 2013 22:20:12 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

>> Handle what?
>
> Handle this situation.  But I guess it's not needed because noone should
> normally have '/homeless-shelter'.
>
> I was testing a package from its build directory and forgot to unset
> some variables ($HOME, for instance).

Ah, so this was not the log of a chroot build, right?  (There’s no
/homeless-shelter directory in the chroot.)

>> What was the error message exactly?
>
> guix build: error: build failed: directory `/homeless-shelter' exists;
> please remove it

Perfect, then.  :-)

>> unless running as root.
>
> Well, my understanding is that it shouldn't be harmful (under normal
> circumstances) for the main system.  But it's not smart because you
> could affect the chroot itself, which is not desirable anyway.  So, I'm
> going to use '--userspec' from now on.

Not sure what --userspec is.

Anyway, in general, it’s a bad idea to do “normal things” as root,
because it’s easy to inadvertently break the system one way or another.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]