From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#19315: per-user profile directory not created/mentioned Date: Sun, 04 Jan 2015 23:43:46 +0100 Message-ID: <87fvbq180t.fsf@gnu.org> References: <87oardde1p.fsf@mango.localdomain> <874mt5159y.fsf@gnu.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]:53645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7tu3-0004Qr-AI for bug-guix@gnu.org; Sun, 04 Jan 2015 17:44:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7tty-0006R1-Ac for bug-guix@gnu.org; Sun, 04 Jan 2015 17:44:07 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:55608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7tty-0006Qt-7z for bug-guix@gnu.org; Sun, 04 Jan 2015 17:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y7tty-0002Z1-11 for bug-guix@gnu.org; Sun, 04 Jan 2015 17:44:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <874mt5159y.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 09 Dec 2014 11:33:45 +0100") 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: rekado Cc: 19315-done@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > rekado skribis: > >> the manual does not mention that a per-user profile directory owned by >> the user account has to be created after installation of guix. > > It actually does, under =E2=80=9CInvoking guix package=E2=80=9D (see > ): > > In a multi-user setup, user profiles must be stored in a place > registered as a "garbage-collector root", which =E2=80=98$HOME/.guix-pr= ofile=E2=80=99 > points to (*note Invoking guix gc::). That directory is normally > =E2=80=98LOCALSTATEDIR/profiles/per-user/USER=E2=80=99, where LOCALSTAT= EDIR is the value > passed to =E2=80=98configure=E2=80=99 as =E2=80=98--localstatedir=E2=80= =99, and USER is the user name. > It must be created by =E2=80=98root=E2=80=99, with USER as the owner. = When it does not > exist, or is not owned by USER, =E2=80=98guix package=E2=80=99 emits an= error about it. > > Would you suggest making it more prominent somehow? Commit 15ddeff merges code from nix-daemon. Among other things, it adds code to create this =E2=80=98profiles/per-user=E2=80=99 directory with appr= opriate permissions (see LocalStore::LocalStore(bool reserveSpace) in local-store.cc.) Commit 4379c35 updates the manual accordingly. Thanks, Ludo=E2=80=99.