GNU bug report logs - #19315
per-user profile directory not created/mentioned

Previous Next

Package: guix;

Reported by: rekado <rekado <at> elephly.net>

Date: Mon, 8 Dec 2014 21:36:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#19315: closed (per-user profile directory not created/mentioned)
Date: Sun, 04 Jan 2015 22:44:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 04 Jan 2015 23:43:46 +0100
with message-id <87fvbq180t.fsf <at> gnu.org>
and subject line Re: bug#19315: per-user profile directory not created/mentioned
has caused the debbugs.gnu.org bug report #19315,
regarding per-user profile directory not created/mentioned
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
19315: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19315
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: rekado <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: per-user profile directory not created/mentioned
Date: Mon, 08 Dec 2014 22:31:14 +0100
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



[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: rekado <rekado <at> elephly.net>
Cc: 19315-done <at> debbugs.gnu.org
Subject: Re: bug#19315: per-user profile directory not created/mentioned
Date: Sun, 04 Jan 2015 23:43:46 +0100
ludo <at> gnu.org (Ludovic Courtès) skribis:

> rekado <rekado <at> elephly.net> 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’.


This bug report was last modified 10 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.