Hello, 27.11.2014 at 10:23 Patrick Ohly <[email protected]> wrote:
Hello! It hasn't become clear to me in the gumd and image creation discussions whether .rpm postin/un scripts can still depend on useradd and userdel to create users for system services (example: avahi daemon runs as user "avahi") dynamically. If so, what are the right runtime dependencies (if any) to ensure that the commands are really available? If not, then I guess we maintain a static configuration of such daemons and never modify it during package install/uninstall? Again, avahi is a good example, because that's what's currently done for the "avahi" user (see https://review.tizen.org/gerrit/#/admin/projects/platform/upstream/setup).
In a few days systemd will be updated to v216. It contains feature called sysusers, which is responsible for creating such users and groups. Package that needs some users/groups should just provide appropriate config file. More information can be found on man page: <http://www.freedesktop.org/software/systemd/man/sysusers.d.html>.
Is it possible to use this tool in Tizen? If yes, then we'll enable it after update.
cheers, -- Maciej Wereski Samsung R&D Institute Poland Samsung Electronics [email protected] _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
