Missing necessary option for user-config.service

Description

Although user-config.service execution is enough with one success, it executes every time when launching application.
Therefore, when the user touch short cut or launcher icon on HomeScreen very quickly, systemd rejects starting user-config.service like following.

Dec 28 17:10:21 m3ulcb systemd[3964]: user-config.service: Start request repeated too quickly. Dec 28 17:10:21 m3ulcb systemd[3964]: Failed to start AGL user config. Dec 28 17:10:21 m3ulcb systemd[3964]: Dependency failed for This is a demo application used to control and dialog with HVAC system. Dec 28 17:10:21 m3ulcb systemd[3964]: afm-appli-hvac@0.1.service: Job afm-appli-hvac@0.1.service/start failed with result 'dependency'. Dec 28 17:10:21 m3ulcb systemd[3964]: user-config.service: Unit entered failed state. Dec 28 17:10:21 m3ulcb systemd[3964]: user-config.service: Failed with result 'start-limit-hit'.

As a result, the user manipulation is ignored by HomeScreen. (E.g. Touch icon but nothing happen)
This also causes critical error for some applications. (e.g. Navigation)

Dec 28 17:07:51 m3ulcb systemd[4000]: user-config.service: Start request repeated too quickly. Dec 28 17:07:51 m3ulcb systemd[4000]: Failed to start AGL user config. Dec 28 17:07:51 m3ulcb systemd[4000]: Dependency failed for NAVIGATION App. Dec 28 17:07:51 m3ulcb systemd[4000]: afm-appli-navigation@0.1.service: Job afm-appli-navigation@0.1.service/start failed with result 'dependency'. Dec 28 17:07:51 m3ulcb systemd[4000]: user-config.service: Failed with result 'start-limit-hit'.

To fix this, it is required to set 'RemainAfterExit' 'yes' like following.

[Unit] Description=AGL user config [Service] ExecStart=/bin/ln -sf /run/platform/display/wayland-0 %t/ RemainAfterExit=yes [Install] WantedBy=default.target

Environment

None

Activity

Show:

Walt Miner 
February 11, 2018 at 5:03 PM

Close for EE 5.0.1 release

jose bollo 
January 15, 2018 at 8:31 AM

Thank you for having submited the resolution.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Components

Affects versions

Priority

Created January 10, 2018 at 5:40 AM
Updated February 11, 2018 at 5:03 PM
Resolved January 16, 2018 at 7:28 PM

Flag notifications