[Top][All Lists]

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

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

From: Ludovic Courtès
Subject: bug#19315: per-user profile directory not created/mentioned
Date: Sun, 04 Jan 2015 23:43:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

address@hidden (Ludovic Courtès) skribis:

> rekado <address@hidden> 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

Commit 4379c35 updates the manual accordingly.


reply via email to

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