Hello! Vincent Legoll <[email protected]> skribis:
> On Sun, Aug 28, 2016 at 1:32 AM, Ludovic Courtès <[email protected]> wrote: >> Vincent Legoll <[email protected]> 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’.
