tizen: Add additional unit for "unified" user session 37/204137/2
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 19 Apr 2019 11:54:17 +0000 (13:54 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 29 Apr 2019 13:26:02 +0000 (15:26 +0200)
commitc912cbe6b33ba30309388719316775e5fc44555a
treec79de8bbbd520cad521d7eb19f1d000062acd433
parent037c71e16d6baa284aaef55a06bd916c5ff8f750
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: I86da33a05560b73c44c39c073f4ac6ca11fd6e86
packaging/libtdm.spec
service/tdm-socket-user@.path [new file with mode: 0644]
service/tdm-socket-user@.service [new file with mode: 0644]