Page MenuHomePhabricator

Investigate and fix dconf errors shown by services run as the analytics system user
Open, LowPublic

Description

Update:

an-launcher1002 is currently failing to start monitor_refine_eventlogging_analytics.service and monitor_refine_eventlogging_legacy.service

This was actually a transient error, caused by a failure in the refine job itself.
Our use of systemd services for monitoring the historical state of refine job pipelines is suboptimal and we're planning to move away from it altogether, as part of T307505: Refine jobs should be scheduled by Airflow

The critical errors shown below from dconf don't actually stop the service running. However, it would be nice to fix it.
I'll repurpose this ticket so that we can use it to investigate and fix these errors and potential solutions. I think that dconf is non-functional for all services run for these system users with a /nonexistent home directory.

Original description follows

The following seems to be the issue, this seems to be because the analytics users has no home directory but dbctl seems to want to right something to the home directory. We could add a home dir to the analytics users but i wonder if it would be better to writ the dbconf file somewhere more central e.g. /var/cache/dbconf

Feb 27 00:32:23 an-launcher1002 kerberos-run-command[16065]: (process:19352): dconf-CRITICAL **: 00:32:22.689: unable to create directory '/nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.
Feb 27 00:32:23 an-launcher1002 kerberos-run-command[16065]: (process:19352): dconf-CRITICAL **: 00:32:22.690: unable to create directory '/nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.
Feb 27 00:32:23 an-launcher1002 kerberos-run-command[16065]: (process:19352): dconf-CRITICAL **: 00:32:22.691: unable to create directory '/nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.
Feb 27 00:32:23 an-launcher1002 kerberos-run-command[16065]: (process:19352): dconf-CRITICAL **: 00:32:22.691: unable to create directory '/nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.

Event Timeline

BTullis renamed this task from an-launcher1002: failed services to Investigate and fix dconf errors shown by services run as the analytics system user.Jul 17 2023, 10:10 AM
BTullis triaged this task as Low priority.
BTullis updated the task description. (Show Details)