[maemo-developers] Aegis - Upstart script not working in Harmattan
From: Sudheer K. scifi1947 at gmail.comDate: Tue Aug 2 10:26:37 EEST 2011
- Previous message: maemo.org Extras Bug Jar 2011.31
- Next message: Aegis - Upstart script not working in Harmattan
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20110802/d24b6df9/attachment.html>
- Previous message: maemo.org Extras Bug Jar 2011.31
- Next message: Aegis - Upstart script not working in Harmattan
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]