tizen: Add additional unit for "unified" user session 96/204796/2
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 19 Apr 2019 11:51:42 +0000 (13:51 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 29 Apr 2019 13:24:48 +0000 (15:24 +0200)
commit9a9ec72dffc26405e5770368f782748bf6f8130c
treed313e2b093a8e8011687f104427471e33b4a6ea6
parent280bc5f5af91f4ef110737be0c953935b8141687
tizen: Add additional unit for "unified" user session

The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.

user@.target will contain same units as previously available in user/,
with same UID and environment setup.  systemd instance is used for unit
to be able to specify UID (inherited from user@.target).

The rationale behind this work is following:

* VD requirement to remove user session support
* boot time optimization requirements, due to:

   + 'systemd --user' taking 1s its own startup that could be used for
     unit startup
   + ability to better rearrange units if these managed by one systemd
     instance

Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).

Change-Id: I075f90828960e3c7586330aa6a42820d04f1971b
Signed-off-by: Mateusz Moscicki <m.moscicki2@partner.samsung.com>
packaging/libtbm.spec
service/tbm-drm-auth-user@.path [new file with mode: 0644]
service/tbm-drm-auth-user@.service [new file with mode: 0644]