Hi,

I am trying to launch my application daemon on boot by deploying a script,
shake2skip-daemon [1] to /etc/event.d/ folder.  The script is deployed using
qmake project file
syntax (INSTALLS = target launch, with launch.files=data/shake2skip-daemon
and launch.path=/etc/event.d/).


Initially I didn't include any manifest file, and aegis didn't allow the
launch script to be executed. The error from syslog without manifest was:


*Jul 28 21:09:22 (none) DSME: Got Validator message [ Fail: 1 (source origin
check) Method: 3 Process: sh File: /etc/event.d/shake2skip-daemon ]*
*Jul 28 21:09:22 (none) DSME: OK, not a mandatory file:
/etc/event.d/shake2skip-daemon*
*Jul 28 21:09:22 (none) kernel: [  330.523223] Aegis: credp_kcheck failed
9990004 shake2skip-daemon*
*Jul 28 21:09:22 (none) kernel: [  330.523254] Aegis: shake2skip-daemon
verification failed (source origin check)*


I created the aegis manifest file [2] in debian folder but was not sure what
credential should I request to run the launch script. I tried "credential
name="UID::root"".
However, the warning below was displayed during package installation.

*Package shake2skip: <for> refers to '/etc/event.d/shake2skip-daemon', not
installed by that package -- ignored*

Installation completed successfully and syslog does not have any aegis/credp
errors but the daemon is still not started on reboot. What I am doing wrong
here? Or, is there any other way to start scripts on boot?


~Sudheer

[1] - http://pastebin.com/BnBwP6tv
[2] - http://pastebin.com/JpZZwXEZ
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to