(Posting from mobile, excuse top post) Hi,
Harmatran has Upstart 1.2 and since 0.5 the init job directory has been /etc/init/ . /etc/event.d/ is not used. This is the main reason for your failure. Secondly, in SDK docs (dunno URL) it is suggested that 3rd party apps are installed to /etc/init/apps/ which is dedicated for this purpose and which imposes couple limitatations to jobs in it. There has been changes in those since n950 sw version and latest internal builds. I think Aegis might prevent your job to be run from /etc/init/ so you should install to /etc/init/apps/. Most notably, jobs launched from there cannot have "start on" stanza, but they're executed at end of boot sequence. Hope this helps. Cheers, Tumi On 2.8.2011, at 10.26, "Sudheer K." <scifi1...@gmail.com> wrote: > 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
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers