HI Patrick, IMO gum-utils (offline mode) can be used for all the cases instead of user/group add/del scripts. Please let me know if something is missing (or needs improvements) I can add those to gumd. One thing I know is to update the gum-utils documentation to be more clear.
Jose, can you please elaborate exactly what do you think MUST be added to gumd and is missing and then I can allocate my time for it? Maciej, IMO thats one of the downsides of systemd that it encapsulates "everything" which it should not; maintainence, upgrades to systemd is always challenging and cumbersome. More importantly with gumd in place, we can do changes almost instantly as per our needs (see security manager and gumd thread plz) rather than going for systemd's sysusers thingy. BR imran ________________________________________ From: Dev [[email protected]] on behalf of Maciej Wereski [[email protected]] Sent: 27 November 2014 13:41 To: [email protected] Subject: Re: [Dev] useradd/del in postin/un 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 --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
