Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3213

Media scanner service and bluetooth-pbap service failed on iMx8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Halibut 8.0.0
    • Fix Version/s: None
    • Component/s: None

      Description

      I am getting the following errors related to media scanner service from imx8 boot logs.

      [ 18.194400] audit: type=1400 audit(1579621572.611:2): lsm=SMACK fn=smack_inode_permission action=denied subject="System" object="User::App::agl-service-mediascanner" requested=x pid=4105 comm="dbus-daemon" name="4093" dev="proc" ino=7842
      [ 18.215554] audit: type=1300 audit(1579621572.611:2): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffffffffffff9c a1=aaaaeb483e60 a2=0 a3=0 items=0 ppid=1 pid=4105 auid=4294967295 uid=998 gid=997 euid=998 suid=998 fsuid=998 egid=997 sgid=997 fsgid=997 tty=(none) ses=4294967295 comm="dbus-daemon" exe="/usr/bin/dbus-daemon" subj=System key=(null)
      [ 18.215797] nfc: nfc_init: NFC Core ver 0.1
      [ 18.246539] audit: type=1327 audit(1579621572.611:2): proctitle=2F7573722F62696E2F646275732D6461656D6F6E002D2D73797374656D002D2D616464726573733D73797374656D643A002D2D6E6F666F726B002D2D6E6F70696466696C65002D2D73797374656D642D61637469766174696F6E002D2D7379736C6F672D6F6E6C79
      [ 18.250990] NET: Registered protocol family 39
      [ 18.274909] audit: type=1400 audit(1579621572.611:3): lsm=SMACK fn=smack_inode_getattr action=denied subject="System" object="User::App::agl-service-mediascanner" requested=r pid=4105 comm="dbus-daemon" path="/proc/4093" dev="proc" ino=7842
      [ 18.300838] audit: type=1300 audit(1579621572.611:3): arch=c00000b7 syscall=79 success=no exit=-13 a0=ffffffffffffff9c a1=ffffc2cf5ac8 a2=ffffc2cf5b18 a3=0 items=0 ppid=1 pid=4105 auid=4294967295 uid=998 gid=997 euid=998 suid=998 fsuid=998 egid=997 sgid=997 fsgid=997 tty=(none) ses=4294967295 comm="dbus-daemon" exe="/usr/bin/dbus-daemon" subj=System key=(null)
      [ 18.333117] audit: type=1327 audit(1579621572.611:3): proctitle=2F7573722F62696E2F646275732D6461656D6F6E002D2D73797374656D002D2D616464726573733D73797374656D643A002D2D6E6F666F726B002D2D6E6F70696466696C65002D2D73797374656D642D61637469766174696F6E002D2D7379736C6F672D6F6E6C79
      [ 18.357304] audit: type=1400 audit(1579621572.611:4): lsm=SMACK fn=smack_inode_getattr action=denied subject="System" object="User::App::agl-service-mediascanner" requested=r pid=4105 comm="dbus-daemon" path="/proc/4093" dev="proc" ino=7842
      [[ 18.378658] audit: type=1300 audit(1579621572.611:4): arch=c00000b7 syscall=79 success=no exit=-13 a0=ffffffffffffff9c a1=ffffc2cf59f8 a2=ffffc2cf5a48 a3=0 items=0 ppid=1 pid=4105 auid=4294967295 uid=998 gid=997 euid=998 suid=998 fsuid=998 egid=997 sgid=997 fsgid=997 tty=(none) ses=4294967295 comm="dbus-daemon" exe="/usr/bin/dbus-daemon" subj=System key=(null)

      I added the mp3 file to /media/ folder but in the media player app, it is not showing the mp3 file. I am getting following errors from journalctl

      imx8mqevk:~# journalctl -f
      – Logs begin at Tue 2020-01-21 15:46:00 UTC. –
      Jan 21 15:48:46 imx8mqevk afbd-agl-service-mediascanner@1.0-1fc1cc7[4344]: ERROR: The api mediascanner failed to start [/home/imx8/imx-yocto-bsp/bld-agl-imx8/tmp/work/aarch64-poky-linux/af-binder/halibut+gitAUTOINC+91de2500d8-r0/git/src/afb-apiset.c:799,start_api]
      Jan 21 15:48:46 imx8mqevk dbus-daemon[3890]: [system] Rejected receive message, 1 matched rules; type="signal", sender="(unset)" ((bus)) interface="org.freedesktop.DBus" member="NameLost" error name="(unset)" requested_reply="0" destination=":1.38" (uid=1001 pid=4344 comm="afbd-agl-service-mediascanner@1.0-1fc1cc7 " label="User::App::agl-service-mediascanner") privilege="http://tizen.org/privilege/internal/dbus"
      Jan 21 15:48:46 imx8mqevk systemd[1]: afm-service-agl-service-mediascanner-1.0-1fc1cc7-main@1001.service: Main process exited, code=exited, status=1/FAILURE
      Jan 21 15:48:46 imx8mqevk systemd[1]: afm-service-agl-service-mediascanner-1.0-1fc1cc7-main@1001.service: Failed with result 'exit-code'.
      Jan 21 15:48:46 imx8mqevk systemd[1]: Failed to start Binding for media scanning service.
      Jan 21 15:48:46 imx8mqevk systemd[1]: Starting Binding for media scanning service...
      Jan 21 15:48:46 imx8mqevk dbus-daemon[3890]: [system] Rejected receive message, 1 matched rules; type="method_return", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="(unset)" requested_reply="1" destination=":1.40" (uid=1001 pid=4353 comm="afbd-agl-service-mediascanner@1.0-1fc1cc7 " label="User::App::agl-service-mediascanner") privilege="http://tizen.org/privilege/internal/dbus"
      Jan 21 15:48:46 imx8mqevk dbus-daemon[3890]: [system] Rejected receive message, 1 matched rules; type="signal", sender="(unset)" ((bus)) interface="org.freedesktop.DBus" member="NameAcquired" error name="(unset)" requested_reply="0" destination=":1.40" (uid=1001 pid=4353 comm="afbd-agl-service-mediascanner@1.0-1fc1cc7 " label="User::App::agl-service-mediascanner") privilege="http://tizen.org/privilege/internal/dbus"
      Jan 21 15:48:49 imx8mqevk afbd-agl-service-bluetooth-pbap@1.0-b5e96e9[4134]: ERROR: [API bluetooth-pbap] Failed to create object manager [/home/sarath/Pictures/icefish/build/tmp/work/aarch64-agl-linux/agl-service-bluetooth-pbap/1.0+gitAUTOINC+b5e96e9066-r0/git/binding/bluetooth-pbap-binding.c:612,init_session]
      Jan 21 15:48:49 imx8mqevk dbus-daemon[4085]: dbus-daemon[4085]: [session uid=1001 pid=4085] Rejected receive message, 1 matched rules; type="signal", sender="(unset)" ((bus)) interface="org.freedesktop.DBus" member="NameLost" error name="(unset)" requested_reply="0" destination=":1.4" (uid=1001 pid=4134 comm="afbd-agl-service-bluetooth-pbap@1.0-b5e96e9 " label="User::App::agl-service-bluetooth-pbap") privilege="http://tizen.org/privilege/internal/dbus"
      Jan 21 15:49:11 imx8mqevk afbd-agl-service-mediascanner@1.0-1fc1cc7[4353]: ERROR: Initialisation of service API mediascanner failed (-1): Resource temporarily unavailable [/home/imx8/imx-yocto-bsp/bld-agl-imx8/tmp/work/aarch64-poky-linux/af-binder/halibut+gitAUTOINC+91de2500d8-r0/git/src/afb-export.c:1793,afb_export_start]
      Jan 21 15:49:11 imx8mqevk afbd-agl-service-mediascanner@1.0-1fc1cc7[4353]: ERROR: The api mediascanner failed to start [/home/imx8/imx-yocto-bsp/bld-agl-imx8/tmp/work/aarch64-poky-linux/af-binder/halibut+gitAUTOINC+91de2500d8-r0/git/src/afb-apiset.c:799,start_api]
      Jan 21 15:49:11 imx8mqevk dbus-daemon[3890]: [system] Rejected receive message, 1 matched rules; type="signal", sender="(unset)" ((bus)) interface="org.freedesktop.DBus" member="NameLost" error name="(unset)" requested_reply="0" destination=":1.40" (uid=1001 pid=4353 comm="afbd-agl-service-mediascanner@1.0-1fc1cc7 " label="User::App::agl-service-mediascanner") privilege="http://tizen.org/privilege/internal/dbus"
      Jan 21 15:49:11 imx8mqevk systemd[1]: afm-service-agl-service-mediascanner-1.0-1fc1cc7-main@1001.service: Main process exited, code=exited, status=1/FAILURE
      Jan 21 15:49:11 imx8mqevk systemd[1]: afm-service-agl-service-mediascanner-1.0-1fc1cc7-main@1001.service: Failed with result 'exit-code'.
      Jan 21 15:49:11 imx8mqevk systemd[1]: Failed to start Binding for media scanning service.
      Jan 21 15:49:11 imx8mqevk systemd[1]: Starting Binding for media scanning service...
      Jan 21 15:49:12 imx8mqevk dbus-daemon[3890]: [system] Rejected receive message, 1 matched rules; type="method_return", sender="(unset)" ((bus)) interface="(unset)" member="(unset)" error name="(unset)" requested_reply="1" destination=":1.41" (uid=1001 pid=4358 comm="afbd-agl-service-mediascanner@1.0-1fc1cc7 " label="User::App::agl-service-mediascanner") privilege="http://tizen.org/privilege/internal/dbus"
      Jan 21 15:49:12 imx8mqevk dbus-daemon[3890]: [system] Rejected receive message, 1 matched rules; type="signal", sender="(unset)" ((bus)) interface="org.freedesktop.DBus" member="NameAcquired" error name="(unset)" requested_reply="0" destination=":1.41" (uid=1001 pid=4358 comm="afbd-agl-service-mediascanner@1.0-1fc1cc7 " label="User::App::agl-service-mediascanner") privilege="http://tizen.org/privilege/internal/dbus"

      Please help me on how to solve the dbus related issues on the applications side.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jobol-iot josé bollo
            Reporter:
            rmani0029 Manikandan R
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: