On Fri, Apr 11, 2014 at 2:33 AM, Colin Walters <walters(a)verbum.org> wrote:
One way to fix this that goes with my general direction of moving
things out
of %post into systemd: a dynamic uid reservation system that saves state
persistently.
Crudely, this would be ExecStartPre=/usr/sbin/useradd -r ...
except we'd wrap that with something that checked whether the user existed
first.
If you move in this direction, you have to create files/dirs to be
owned by the daemon user too.
This has quite broad implications.
m
--
martin.langhoff(a)gmail.com
- ask interesting questions
- don't get distracted with shiny stuff - working code first
~
http://docs.moodle.org/en/User:Martin_Langhoff