Hi Caglar,
On 02/28/2017 03:24 PM, caglar.kili...@accenture.com wrote:
I tested and still receive error. Output is:
# rauc install update-2017.02-1.raucb
Error creating proxy: Error calling StartServiceByName for de.pengutronix.rauc:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited
with unknown return code 1
D-Bus error while installing `/home/root/update-2017.02-1.raucb`
ok, the issue you encounter is that the RAUC service is not running on
your system and that the RAUC client, i.e. your command line tool, does
not correctly start it via dbus activation.
The bug that causes this issue is located in the D-Bus service file
`de.pengutronix.rauc.service` and shows that we haven't used non-systemd
systems for a long time...
Am I right in assuming you are using a non-systemd-based system?
The reason why activation is not working for the non-systemd case is
that the `Exec` argument in the dbus service file lacks the required
`service` argument for RAUC in order to be started properly as the
background service. Thus the fix is:
--- a/data/de.pengutronix.rauc.service.in
+++ b/data/de.pengutronix.rauc.service.in
@@ -1,5 +1,5 @@
[D-BUS Service]
Name=de.pengutronix.rauc
-Exec=@bindir@/rauc
+Exec=@bindir@/rauc service
User=root
SystemdService=rauc.service
Many thanks for revealing this issue! I've created a PullRequest on
GitHub for this:
https://github.com/rauc/rauc/pull/104
Does this solve your problems?
Best regards
Enrico
--
Pengutronix e.K. | Enrico Jörns |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
RAUC mailing list