From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-bn8nam12on2057.outbound.protection.outlook.com ([40.107.237.57] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBn3M-0000aP-4H for rauc@pengutronix.de; Tue, 16 Feb 2021 00:13:17 +0100 From: Gary Huband Date: Mon, 15 Feb 2021 23:13:10 +0000 Message-ID: Content-Language: en-US MIME-Version: 1.0 Subject: [RAUC] RAUC dbus question List-Id: RAUC Project - Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1466960599==" Errors-To: rauc-bounces@pengutronix.de Sender: "RAUC" To: "rauc@pengutronix.de" --===============1466960599== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BL0PR1701MB25315E37B6FDFC414FB3692EC3889BL0PR1701MB2531_" --_000_BL0PR1701MB25315E37B6FDFC414FB3692EC3889BL0PR1701MB2531_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have RAUC integrated with a Yocto Morty build (Linux 4.14) running on an = iMX7D (arm). I'm trying to verify that the RAUC dbus interface is working,= but I get an error when I use dbus-send: # dbus-send --system --dest=3Dde.pengutronix.rauc --type=3Dmethod_call --pr= int-reply /de/pengutronix/rauc de.pengutronix.rauc.GetSlotStatusError org.f= reedesktop.DBus.Error.UnknownMethod: No such interface 'de.pengutronix.rauc= ' on object at path /de/pengutronix/rauc When I try introspection: # dbus-send --system --dest=3Dde.pengutronix.rauc --type=3Dmethod_call --pr= int-reply /de/pengutronix/rauc org.freedesktop.DBus.Introspectable.Introspe= ct method return time=3D1605228956.729035 sender=3D:1.6 -> destination=3D:1.8 = serial=3D8 reply_serial=3D2 string " " The RAUC service is on the system bus: # dbus-send --system --dest=3Dorg.freedesktop.DBus --type=3Dmethod_call --p= rint-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames method return time=3D1605229469.748648 sender=3Dorg.freedesktop.DBus -> des= tination=3D:1.13 serial=3D3 reply_serial=3D2 array [ string "org.freedesktop.DBus" string "org.freedesktop.login1" string "org.freedesktop.systemd1" string "de.pengutronix.rauc" string "org.freedesktop.Avahi" string ":1.13" string ":1.0" string ":1.1" string "org.freedesktop.network1" string ":1.2" string ":1.3" string "org.freedesktop.resolve1" string ":1.4" string ":1.6" ] Any help with what I am doing wrong is appreciated. Gary Gary Huband Sr. Software and Systems Engineer Office: 434.284.8071 x720 Direct: 434.260.4995 Gary@MissionSecure.com Follow Us! LinkedIn | Blog | Website : : : : : : : : : : : : : : : : : : : : : : : : : : : [MSi] This email and any files transmitted with it are confidential and proprieta= ry and intended solely for the use of the individual or entity to whom they= are addressed. Any dissemination, distribution or copying of this communic= ation is strictly prohibited without our prior permission. If you received = this in error, please contact the sender and delete the material from any c= omputer. --_000_BL0PR1701MB25315E37B6FDFC414FB3692EC3889BL0PR1701MB2531_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have RAUC integrated with a Yocto Morty build (Linux 4.14) running on an = iMX7D (arm).  I'm trying to verify that the RAUC dbus interface is wor= king, but I get an error when I use dbus-send:

# dbus-send --system --dest=3Dde.pengutronix.rauc --type=3Dmethod_call --pr= int-reply /de/pengutronix/rauc de.pengutronix.rauc.GetSlotStatusError org.f= reedesktop.DBus.Error.UnknownMethod: No such interface 'de.pengutronix.rauc= ' on object at path /de/pengutronix/rauc

When I try introspection:

# dbus-send --system --dest=3Dde.pengutronix.rauc --type=3Dmethod_call --pr= int-reply /de/pengutronix/rauc org.freedesktop.DBus.Introspectable.Introspe= ct
method return time=3D1605228956.729035 sender=3D:1.6 -> destination= =3D:1.8 serial=3D8 reply_serial=3D2
   string "<!DOCTYPE node PUBLIC "-//freedeskto= p//DTD D-BUS Object Introspection 1.0//EN"
                    =   "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd&q= uot;>
<!-- GDBus 2.54.3 -->
<node>
</node>
"

The RAUC service is on the system bus:

# dbus-send --system --dest=3Dorg.freedesktop.DBus --type=3Dmethod_call --p= rint-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
method return time=3D1605229469.748648 sender=3Dorg.freedesktop.DBus -= > destination=3D:1.13 serial=3D3 reply_serial=3D2
   array [
      string "org.freedesktop.DBus"
      string "org.freedesktop.login1"
      string "org.freedesktop.systemd1"
      string "de.pengutronix.rauc"
      string "org.freedesktop.Avahi"
      string ":1.13"
      string ":1.0"
      string ":1.1"
      string "org.freedesktop.network1"
      string ":1.2"
      string ":1.3"
      string "org.freedesktop.resolve1"
      string ":1.4"
      string ":1.6"
   ]

Any help with what I am doing wrong is appreciated.

Gary


Gary Huband
Sr. Software and Systems Engineer

Office: 434.284.8071 x720
Direct: 434.260.4995
Gary@MissionSecure.com

Follow Us!
LinkedIn  |  Blog  |  Website

: : : : : : : : : : : : : : : : : : : : : : : : : : :

3D"MSi"

This email and any files transmitted with it are confi= dential and proprietary and intended solely for the use of the individual o= r entity to whom they are addressed. Any dissemination, distribution or copying of this communication is strict= ly prohibited without our prior permission. If you received this in error, = please contact the sender and delete the material from any computer.=

--_000_BL0PR1701MB25315E37B6FDFC414FB3692EC3889BL0PR1701MB2531_-- --===============1466960599== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ RAUC mailing list --===============1466960599==--