[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/9] activation: Allow /var/lib to be a home directory.
From: |
ng0 |
Subject: |
Re: [PATCH 2/9] activation: Allow /var/lib to be a home directory. |
Date: |
Fri, 02 Sep 2016 17:13:48 +0000 |
Vincent Legoll <address@hidden> writes:
> Hello,
>
>> Also, it's better fit in the 'add-user' procudere, before
>> the run of `useradd' command. And instead of handing
>> this particular case, how about create any parent directory
>> of HOME? like:
>>
>> [...]
>> ;; create the parent directory of HOME.
>> (when home (mkdir-p (dirname home)))
>>
>> ;; Use 'useradd' from the Shadow package.
>> [...]
>
> This looks like a better idea IMHO (more generic)
>
> --
> Vincent Legoll
>
Apparently I need this if I want to extend git-service (ie: ssh to user
git), and for gnunet-service which requires some directories to be
present in $HOME which normally are there for users as far as I remember.
[PATHS]
SERVICEHOME = /var/lib/gnunet is not working. I could of course create
.config to ~maybe~ satisfy it, but I find this patch useful, as it will
allow me to write less code.
--
ng0
For non-prism friendly talk find me on http://www.psyced.org
- Re: [PATCH 3/9] services: Export initrc., (continued)
[PATCH 5/9] gnu: Add prefix to license imports in (gnu packages display-managers)., David Craven, 2016/09/01
[PATCH 7/9] gnu: Add sddm., David Craven, 2016/09/01
[PATCH 2/9] activation: Allow /var/lib to be a home directory., David Craven, 2016/09/01
Re: [PATCH 2/9] activation: Allow /var/lib to be a home directory., Ludovic Courtès, 2016/09/03
[PATCH 4/9] services: syslog: Use syslog-configuration., David Craven, 2016/09/01
Re: [PATCH 1/9] system: vm: Remove -net user flag., ng0, 2016/09/02