Since user-session@5000.service does not work with systemd v208, and
Tizen is not using a display or session manager for user logins, a user
instance for "app" does not start up at all.
A workaround for this issue is to enable the "linger" for the app user
so that user@5000.service will launch at every boot.
The proper fix is to add a new service that will register a graphical
user session with systemd-logind, but this hasn't been implemented yet.
The feature is tracked in PTREL-521.
Change-Id: Ibce509523b4a6f2f158af07369823f8fde19f034
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
+* Wed Dec 4 2013 Patrick McCarty <patrick.mccarty@linux.intel.com> 2dddf8f
+- Enable linger for the app user
+
* Wed Dec 4 00:36:24 UTC 2013 - tracy.graydon@intel.com
- TIVI-2246: add udisks-automount-agent to ivi-middleware pattern
- this in turn should pull in libatasmart and udisks dependencies
mkdir -p /usr/lib/systemd/system/graphical.target.wants
ln -sf weston.target /usr/lib/systemd/user/default.target
+# Enable user@5000.service by setting the linger for user 'app'
+mkdir -p /var/lib/systemd/linger
+touch /var/lib/systemd/linger/app
+
# Add over-riding environment to enable the web runtime to
# run on an IVI image as a different user then the tizen user
# Some notes on some of the variables: