bug-guix
[Top][All Lists]
Advanced

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

bug#24275: Misnamed directory in GuixSD


From: Ludovic Courtès
Subject: bug#24275: Misnamed directory in GuixSD
Date: Sun, 28 Aug 2016 15:48:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hello!

Vincent Legoll <address@hidden> skribis:

> On Sun, Aug 28, 2016 at 1:32 AM, Ludovic Courtès <address@hidden> wrote:
>> Vincent Legoll <address@hidden> skribis:
>>
>>> I came with the attached patch, totally untested, probably wrong for some
>>> cases...
>
> My patch was heuristic, so bound to be wrong sometimes...
>
>> We currently lack a way to specify whether the home directory should be
>> created, which would be useful for ‘nobody’.
>
> This is the alternative solution, specifying it, always right.

Yeah, that’s what I thought.  It may be useful in other situations too.

>> So what about a patch along these lines instead?  It adds a
>> ‘create-home-directory?’ field to <user-account> and sets it to #f for
>> ‘nobody’.
>
> LGTM, but do I understand correctly: the default value being false, we
> will have to always specify the added param as true in system definitions ?
>
> Why not the other way around, that would not need any modifications of
> current configs.

Oops, I meant it to be #t by default, of course.  Good catch!

Pushed as commits eb56ee027b4c6b5682f69fa885d16e55c4495bd8 and
d03db7434b5b2f1e588c65805d38faea973c3cf0.

Thanks!

Ludo’.





reply via email to

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