[oe] systemd service failing at start

Koen Kooi koen at dominion.thruhere.net
Fri Jul 11 08:47:32 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eduardo Silva schreef op 11-07-14 04:43:
> Hi,
> 
> For some reason the systemd service that i plan to use for Monkey HTTP 
> Server in Yocto is not starting up when booting the core-image-sato
> image. Once is booting it hangs saying:
> 
> [  OK  ] Stopped Monkey HTTP Server [  ***   ] A Start job is running for
> Run pending postinsts (20min 12s...)
> 
> My service file looks like this:
> 
> --- start of monkey.service---
> 
> [Unit] Description=Monkey HTTP Server Requires=network.target
> remote-fs.target After=network.target remote-fs.target
> 
> [Service] Type=forking ExecStart=/usr/bin/monkey --daemon 
> PIDFile=/var/run/monkey.pid.2001 TimeoutSec=10
> 
> [Install] WantedBy=multi-user.target
> 
> -- end--
> 
> If i deploy Monkey RPM (cooked by bitbake) on the Sato image and i add
> this service once the system is up, systemd can start the service
> without problems, everything works: start, stop, status, etc. Do i am
> missing something that can be generating some problems on the first boot
> ?

The postinst startup script is blocking boot, you;d have to check which
postinst is causing the holdup.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFTv6SkMkyGM64RGpERAko3AJ9aJCgDtQqTNaDRFx0x0/J0JbE3agCgrYxP
cfEuXH8Qg/Z+jdh6yeCS96U=
=t4rZ
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list