tracker coredumps in rhel8 - permission denied for /run/user/N/dconf/user

Posted on

In RHEL 8.9, started getting coredumps from tracker with complaints about /run/user/N/dconf/user: Permission denied

$ rpm -qa 'tracker*'
tracker-2.1.5-2.el8.x86_64
tracker-miners-2.1.5-2.el8_9.1.x86_64

This was reported for RHEL 7 as a tracker error that was fixed with an updated rpm.
See https://access.redhat.com/solutions/3389221 and https://access.redhat.com/solutions/3381781

So from journalctl, I have the following, which repeats because tracker keeps getting restarted.

May 06 13:58:30 myhost dbus-daemon[6744]: [session uid=6301 pid=6744] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.66' (uid=6301 pid=7136 comm="/usr/libexec/tracker-miner-fs ")
May 06 13:58:30 myhost systemd[6693]: Starting Tracker metadata extractor...
May 06 13:58:30 myhost tracker-extract[7824]: Setting scheduler policy to SCHED_IDLE
May 06 13:58:30 myhost tracker-extract[7824]: Setting priority nice level to 19
May 06 13:58:30 myhost tracker-extract[7824]: tracker_module_manager_load_modules: assertion 'initialized == TRUE' failed
May 06 13:58:30 myhost tracker-extract[7824]: unable to create file '/run/user/6301/dconf/user': Permission denied.  dconf will not work properly.
May 06 13:58:30 myhost tracker-extract[7824]: unable to create file '/run/user/6301/dconf/user': Permission denied.  dconf will not work properly.
May 06 13:58:30 myhost tracker-extract[7824]: unable to create file '/run/user/6301/dconf/user': Permission denied.  dconf will not work properly.
May 06 13:58:30 myhost tracker-extract[7824]: unable to create file '/run/user/6301/dconf/user': Permission denied.  dconf will not work properly.
May 06 13:58:30 myhost tracker-extract[7824]: unable to create file '/run/user/6301/dconf/user': Permission denied.  dconf will not work properly.
May 06 13:58:30 myhost tracker-extract[7824]: unable to create file '/run/user/6301/dconf/user': Permission denied.  dconf will not work properly.
May 06 13:58:30 myhost tracker-extract[7824]: unable to create file '/run/user/6301/dconf/user': Permission denied.  dconf will not work properly.
May 06 13:58:30 myhost tracker-extract[7824]: g_object_run_dispose: assertion 'G_IS_OBJECT (object)' failed
May 06 13:58:30 myhost tracker-extract[7824]: Falling back to bus backend, the direct backend failed to initialize: Could not open journal for writing, Permission denied
May 06 13:58:30 myhost tracker-extract[7824]: unable to create file '/run/user/6301/dconf/user': Permission denied.  dconf will not work properly.
May 06 13:58:30 myhost tracker-extract[7824]: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
May 06 13:58:30 myhost tracker-extract[7824]: tracker_extract_persistence_get_file: assertion 'TRACKER_IS_EXTRACT_PERSISTENCE (persistence)' failed
May 06 13:58:30 myhost dbus-daemon[6744]: [session uid=6301 pid=6744] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
May 06 13:58:30 myhost systemd[6693]: Started Tracker metadata extractor.
May 06 13:58:30 myhost systemd[1]: Created slice system-systemd\x2dcoredump.slice.
May 06 13:58:30 myhost systemd[1]: Started Process Core Dump (PID 7845/UID 0).
May 06 13:58:30 myhost systemd-coredump[7846]: Resource limits disable core dumping for process 7824 (tracker-extract).
May 06 13:58:30 myhost systemd-coredump[7846]: Process 7824 (tracker-extract) of user 6301 dumped core.
May 06 13:58:30 myhost systemd[6693]: tracker-extract.service: Main process exited, code=killed, status=31/SYS
May 06 13:58:30 myhost systemd[6693]: tracker-extract.service: Failed with result 'signal'.
May 06 13:58:30 myhost systemd[1]: systemd-coredump@0-7845-0.service: Succeeded.
May 06 13:58:31 myhost systemd[6693]: tracker-extract.service: Service RestartSec=100ms expired, scheduling restart.
May 06 13:58:31 myhost systemd[6693]: tracker-extract.service: Scheduled restart job, restart counter is at 1.
May 06 13:58:31 myhost abrt-dump-journal-core[1152]: Failed to obtain all required information from journald
May 06 13:58:31 myhost systemd[6693]: Stopped Tracker metadata extractor.

I'd disable it, but apparently it's how search is done in gnome and tracker is needed by lots of gnome applications.
Not sure what I can do since I'm at the latest available version for RHEL 8.

Suggestions?

Responses