[Nix-dev] /etc/skel, useradd - resolve symlinks before copying?

Michael Raskin 7c6f434c at mail.ru
Sat Feb 12 18:00:45 CET 2011


>Excerpts from Michael Raskin's message of Sat Feb 12 17:02:42 +0100
>2011:
>> I agree - I think we should simply build /etc/skel by copying, 
>> just like we copy some other things in activation scripts
>
>How do you want to "tidy up"?
>
>Example:
>
>current-system: /etc/static/skel/.vimrc
>
>new-system: no longer any .vimrc
>
>Should the activation script remove /etc/skel/.vimrc then?
>
>If so you have to keep track of it, corret?
>Which would be the best way to do that?

We already had activation scripts scan /etc/ for stale links into /etc/static with
the goal of removing these links. It seems an OK decision for /etc/skel






More information about the nix-dev mailing list