Bug 1474305

Summary: Tracker-extract gives permission denied error in log file
Product: Red Hat Enterprise Linux 7 Reporter: Oliver Ilian <oliver>
Component: trackerAssignee: Carlos Garnacho <cgarnach>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: Ankita_Auddy, cww, mclasen, mkolbas, ofalk, sfroemer, tpelka, yferszt
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tracker-1.10.5-8.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 19:38:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1689420, 1727111, 1729241    
Attachments:
Description Flags
System journal from reproducing the bug under RHEL 7.7 after component update none

Description Oliver Ilian 2017-07-24 11:23:53 UTC
Description of problem:
After upgrading from RHEL 7.3 to 7.4 RC 1, I see the following error coming up in my journalctl:

Jul 24 13:03:40 xxxx tracker-extract[14193]: unable to create file '/run/user/14685/dconf/user': Permission denied.  dconf will not work properly.

Version-Release number of selected component (if applicable):
tracker-1.10.5-4.el7.x86_64

Comment 23 Carlos Garnacho 2019-08-14 15:20:11 UTC
*** Bug 1503513 has been marked as a duplicate of this bug. ***

Comment 24 Pavlin Georgiev 2019-09-13 14:15:18 UTC
TEST SETUP 1
Distro: RHEL 7.3
Component version: tracker-1.10.5-4.el7


TEST PROCEDURE 1
1. Install RHEL 7.3 on a VM via Beaker.
2. Define repo for RHEL 7.4.
3. Perform system update.
4. Reboot the testing machine.
5. Log in a GNOME session.
6. Set automatic start of several apps via gnome-tweaks:
  •   eog
  •   evince
  •   firefox
  •   gedit
  •   gnome-control-center
  •   gnote
  •   libreoffice-writer
  •   nautilus-classic
  •   org.gnome.gedit
  •   org.gnome.Nautilus
  •   org.gnome.Terminal
7. Log out.
8. Log in.
9. Wait apps to start automatically.
10. Check for the bug in the system journal before starting GNOME session.
    
The bug appears.

# journalctl | grep tracker-extract
Sep 13 12:33:58 qe-dell-ovs5-vm-27.dqe.lab.eng.bos.redhat.com tracker-extract[23661]: unable to create file '/run/user/0/dconf/user': Permission denied.  dconf will not work properly.
Sep 13 12:33:58 qe-dell-ovs5-vm-27.dqe.lab.eng.bos.redhat.com tracker-extract[23661]: unable to create file '/run/user/0/dconf/user': Permission denied.  dconf will not work properly.
Sep 13 12:33:58 qe-dell-ovs5-vm-27.dqe.lab.eng.bos.redhat.com tracker-extract[23661]: unable to create file '/run/user/0/dconf/user': Permission denied.  dconf will not work properly.
Sep 13 12:33:58 qe-dell-ovs5-vm-27.dqe.lab.eng.bos.redhat.com tracker-extract[23661]: unable to create file '/run/user/0/dconf/user': Permission denied.  dconf will not work properly.
Sep 13 12:34:32 qe-dell-ovs5-vm-27.dqe.lab.eng.bos.redhat.com tracker-extract[23661]: unable to create file '/run/user/0/dconf/user': Permission denied.  dconf will not work properly.

Comment 25 Pavlin Georgiev 2019-09-13 14:46:22 UTC
Created attachment 1614906 [details]
System journal from reproducing the bug under RHEL 7.7 after component update

TEST SETUP 2
Distro: RHEL 7.7
Component version: tracker-1.10.5-6.el7


TEST PROCEDURE 2
1. Download and install Brew build tracker-1.10.5-8.el7:
      https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=948916
    
2. Reboot the testing machine.
3. Log in a GNOME session.
4. Set automatic start of several apps via gnome-tweaks:
    • eog
    • evince
    • firefox
    • gedit
    • gnome-control-center
    • gnome-terminal
    • gnote
    • nautilus
    
5. Log out.
6. Log in.
7. Wait apps to start automatically.
8. Repeat the last 3 steps 5 times.
9. Check for the bug in the system journal:
    # journalctl | grep tracker-extract

The bug does NOT appear.

Comment 26 Pavlin Georgiev 2019-09-13 14:47:14 UTC
RESULT
Upgrading component: tracker
    from: 1.10.5-4.el7
      to: 1.10.5-8.el7
has fixed the bug.

Comment 30 errata-xmlrpc 2020-03-31 19:38:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1021