Subject: bug#19315: closed (Re: bug#19315: per-user profile directory not created/mentioned)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 04 Jan 2015 22:44:02 +0000

Your bug report

#19315: per-user profile directory not created/mentioned

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
19315: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19315
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#19315: per-user profile directory not created/mentioned
From: [email-masked] (Ludovic Courtès)
To: rekado <[email-masked]>
Cc: [email-masked]
Date: Sun, 04 Jan 2015 23:43:46 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

[email-masked] (Ludovic Courtès) skribis:

> rekado <[email-masked]> 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 “Invoking guix package” (see
> <http://www.gnu.org/software/guix/manual/html_node/Invoking-guix-package.html#Invoking-guix-package>):
>
>      In a multi-user setup, user profiles must be stored in a place
>   registered as a "garbage-collector root", which ‘$HOME/.guix-profile’
>   points to (*note Invoking guix gc::).  That directory is normally
>   ‘LOCALSTATEDIR/profiles/per-user/USER’, where LOCALSTATEDIR is the value
>   passed to ‘configure’ as ‘--localstatedir’, and USER is the user name.
>   It must be created by ‘root’, with USER as the owner.  When it does not
>   exist, or is not owned by USER, ‘guix package’ 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 ‘profiles/per-user’ directory with appropriate
permissions (see LocalStore::LocalStore(bool reserveSpace) in
local-store.cc.)

Commit 4379c35 updates the manual accordingly.

Thanks,
Ludo’.

Subject: per-user profile directory not created/mentioned
From: rekado <[email-masked]>
To: [email-masked]
Date: Mon, 08 Dec 2014 22:31:14 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi guix,

the manual does not mention that a per-user profile directory owned by
the user account has to be created after installation of guix.

On a fresh installation of the package manager the missing profile
directory is mentioned only after attempting to run a guix command.

Cheers,
rekado