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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19315 in the body.
You can then email your comments to 19315 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#19315; Package guix. (Mon, 08 Dec 2014 21:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to rekado <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 08 Dec 2014 21:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Information forwarded to bug-guix <at> gnu.org:
bug#19315; Package guix. (Tue, 09 Dec 2014 10:34:02 GMT) Full text and rfc822 format available.

Message #8 received at 19315 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: rekado <rekado <at> elephly.net>
Cc: 19315 <at> debbugs.gnu.org
Subject: Re: bug#19315: per-user profile directory not created/mentioned
Date: Tue, 09 Dec 2014 11:33:45 +0100
Hi,

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?

Thanks,
Ludo’.




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 04 Jan 2015 22:44:01 GMT) Full text and rfc822 format available.

Notification sent to rekado <rekado <at> elephly.net>:
bug acknowledged by developer. (Sun, 04 Jan 2015 22:44:02 GMT) Full text and rfc822 format available.

Message #13 received at 19315-done <at> debbugs.gnu.org (full text, mbox):

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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 02 Feb 2015 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 57 days ago.

Previous Next


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