From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Daemon: nix-connection-error Date: Sun, 23 Jun 2013 22:20:12 +0200 Message-ID: <87vc547f5v.fsf@gnu.org> References: <8738saswuk.fsf@karetnikov.org> <87obaygpf8.fsf@gnu.org> <874ncq15fs.fsf@karetnikov.org> <87vc55gbj8.fsf@gnu.org> <8761x5wvz8.fsf@karetnikov.org> <878v21f9nz.fsf@gnu.org> <878v203geo.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uqqqh-0006uA-G8 for bug-guix@gnu.org; Sun, 23 Jun 2013 16:25:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uqqqd-0006mU-TZ for bug-guix@gnu.org; Sun, 23 Jun 2013 16:25:23 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:55237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uqqqd-0006mC-NG for bug-guix@gnu.org; Sun, 23 Jun 2013 16:25:19 -0400 In-Reply-To: <878v203geo.fsf@karetnikov.org> (Nikita Karetnikov's message of "Sun, 23 Jun 2013 21:06:55 +0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Nikita Karetnikov 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=E2=80=99s 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=E2=80=99s a bad idea to do =E2=80=9Cnormal things=E2= =80=9D as root, because it=E2=80=99s easy to inadvertently break the system one way or anot= her. Thanks, Ludo=E2=80=99.