[BUG?] Start custom .service automatically start aliendalvik.service (1.1.6.27). Why?

asked 2015-06-28 17:45:42 +0300

Schturman gravatar image

updated 2015-07-01 09:37:13 +0300

Situation:
1. Aliendalvik is stopped for some time.
2. I start my app, for example "Battery notifier". It start my custom service with this content:
[Unit]
Description=Battery notifier daemon
After=ofono.service

[Service]
Type=simple
ExecStart=/usr/share/openrepos-batterynotifer/runcommandbat.sh

[Install]
WantedBy=multi-user.target


* "runcommandbat.sh" - it's a simple script that NOT include any command about dalvik.
3. And in this moment you will find that aliendalvik also restarted, you also will feel some lagging until dalvik start to run smoothly (~5-10sec).
I noticed about this behavior after last sys update 1.1.6.27 Why it start dalvik ? Can someone know what the reason for this ?
Thanks.

EDIT (01.07.15): * Reason for dalvik restart is found. It enable/disable commnad. But WHY it cause to dalvik restart still is a question. Any idea ?

edit retag flag offensive close delete

Comments

Please be more specific, what is your problem exactly?

Do you want to start some service, and it is not started? Or does some service start even when you have it disabled?

juiceme ( 2015-06-28 19:58:07 +0300 )edit
1

Sorry, I updated my question.

Schturman ( 2015-06-28 21:36:18 +0300 )edit
1

You probably want to hook your service to targets/services it actually needs to be executed. For alien-dalvik stating, blind guess, your stuff crashes something, watchdog revives including to start alien-dalvik. And changes/upgrades in Jolla systemd config do not get patched and installed they get just overwritten (at least it seems like it), so maybe reinstalling your stuff might help.

chemist ( 2015-06-29 12:04:38 +0300 )edit

Reinstalling not help, like you see my service just start simple script, that work without any problem... Don't know/understand what it can to crash that cause to dalvik be restarted..

Schturman ( 2015-06-29 12:23:43 +0300 )edit

From what I understand it does start aliendalvik as soon as you start the app and only while this .service is running, right?

chemist ( 2015-06-29 14:49:44 +0300 )edit