Need help with systemd service files

Michal Schmidt mschmidt at redhat.com
Tue Feb 28 16:47:11 UTC 2012


Dne 28.2.2012 17:23, Garrett Holmstrom napsal(a):
> Of interest here is the fact that the script that
> cloud-init-local.service runs currently has a bug that causes it to
> return the wrong return code. Since cloud-init.target Requires that
> service (cloud-config.service does not function correctly without it),
> two of those services should not be running at all, if I understand the
> systemd documentation correctly.

Garrett,
Juerg had an old version of systemd installed (F16 GA, no updates).
After installing updates he's now getting dependency failures as you 
correctly anticipated :-)

[   97.114643] systemd[1]: cloud-init-local.service: main process
exited, code=exited, status=1
[   97.115478] systemd[1]: cloud-init-local.service changed start -> failed
[   97.124134] systemd[1]: Job cloud-init-local.service/start
finished, result=failed
[   97.124157] systemd[1]: Job cloud-config.target/start finished,
result=dependency
[   97.124173] systemd[1]: Job cloud-final.service/start finished,
result=dependency
[   97.124192] systemd[1]: Job cloud-final.service/start failed with
result 'dependency'.
[   97.124875] systemd[1]: Job cloud-config.service/start finished,
result=dependency
[   97.124894] systemd[1]: Job cloud-config.service/start failed with
result 'dependency'.
[   97.125595] systemd[1]: Job cloud-config.target/start failed with
result 'dependency'.


More information about the devel mailing list