-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
None
-
None
-
Raspberry PI
-
Raspberry Pi 3
Hello AGL community!
I've got following setup:
- Raspberry PI 3 board;
- Halibut 8.0.5 image and SDK downloaded from here
I've build qml wgt represented in this repository and installed it on target board.
When I tried to run it the following error occured:
ERROR: cannot-start
journalctl -f has following output:
Jan 24 15:14:14 raspberrypi3 systemd[1]: afm-appli-rpi-qml-
0.1-main@0.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Jan 24 15:14:14 raspberrypi3 systemd[1]: afm-appli-rpi-qml-0.1-main@0.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Jan 24 15:14:14 raspberrypi3 afm-system-daemon[268]: ERROR: can't start system unit afm-appli-rpi-qml-0.1-main@.service for uid 0 [/w/workspace/release-jjb-halibut-snapshot/MACHINE/raspberrypi3/label/agl-test-slave/repoclone/output/tmp/work/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/af-main/halibut+gitAUTOINC+1289070816-r0/git/src/afm-urun.c:252]
I can't start any of preinstalled apps (hvac, dashboard, etc.) using afm-util install neither, only by mouseclicking on it. So I guess may be there is something wrong with afm util?
journalctl -f output after attemp to run hvac using afm-util:
-- Logs begin at Fri 2020-01-24 14:46:56 UTC. --
Jan 24 15:18:48 raspberrypi3 audit[854]: SYSCALL arch=40000028 syscall=39 per=800000 success=no exit=-13 a0=7eab5d47 a1=1ff a2=0 a3=0 items=0 ppid=1 pid=854 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mkdir" exe="/bin/mkdir.coreutils" subj=User::App::hvac key=(null)
Jan 24 15:18:48 raspberrypi3 audit: PROCTITLE proctitle=2F62696E2F6D6B646972002D70002F686F6D652F302F6170702D646174612F68766163
Jan 24 15:18:49 raspberrypi3 afbd-hvac@0.1[854]: /bin/mkdir: cannot create directory '/home/0/app-data/hvac': Permission denied
Jan 24 15:18:49 raspberrypi3 systemd[1]: afm-appli-hvac-0.1-main@0.service: Control process exited, code=exited status=1
Jan 24 15:18:49 raspberrypi3 systemd[1]: afm-appli-hvac-0.1-main@0.service: Failed with result 'exit-code'.
Jan 24 15:18:49 raspberrypi3 systemd[1]: Failed to start This is a demo application used to control and dialog with HVAC system.
Jan 24 15:18:49 raspberrypi3 kernel: audit: type=1400 audit(1579879128.999:19): lsm=SMACK fn=smack_inode_permission action=denied subject="User::App::hvac" object="_" requested=wx pid=854 comm="mkdir" name="app-data" dev="mmcblk0p2" ino=121429
Jan 24 15:18:49 raspberrypi3 kernel: audit: type=1300 audit(1579879128.999:19): arch=40000028 syscall=39 per=800000 success=no exit=-13 a0=7eab5d47 a1=1ff a2=0 a3=0 items=0 ppid=1 pid=854 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mkdir" exe="/bin/mkdir.coreutils" subj=User::App::hvac key=(null)
Jan 24 15:18:49 raspberrypi3 kernel: audit: type=1327 audit(1579879128.999:19): proctitle=2F62696E2F6D6B646972002D70002F686F6D652F302F6170702D646174612F68766163
Jan 24 15:18:49 raspberrypi3 afm-system-daemon[268]: ERROR: start error system unit afm-appli-hvac-0.1-main@.service for uid 0: failed [/w/workspace/release-jjb-halibut-snapshot/MACHINE/raspberrypi3/label/agl-test-slave/repoclone/output/tmp/work/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/af-main/halibut+gitAUTOINC+1289070816-r0/git/src/afm-urun.c:266]
What are my steps to address this issue and run wgt file?
P.S. I am fairly new to AGL so let me know if required information about my setup is missing.