Investigate removing systemd user session use

Description

At this point we only use the user session in systemd for the compositor, homescreen/launcher on IVI, and cluster apps.  There are a few reasons why going ahead and removing it in favor of system units with explicit User configuration:

  • User session units cannot use most of the systemd sandboxing functionality.

  • System units cannot have user units as dependencies, only the overall user session, which makes it difficult to have robust dependencies in some configurations.

  • At present the addition of the user session systemd configuration done by meta-app-framework results in simple images such as agl-image-weston no longer being usefully buildable (e.g. if building with agl-demo), which complicates test building images.

The intent of this issue is to cover the investigation and possible change to drop using the user session.

Environment

None

Activity

Marius Vlad 
April 5, 2023 at 1:46 PM

/cc

Fixed

Details

Assignee

Reporter

Fix versions

Components

Affects versions

Priority

Created February 23, 2023 at 9:12 PM
Updated September 15, 2023 at 3:25 PM
Resolved September 14, 2023 at 8:03 PM