]> git.ipfire.org Git - thirdparty/systemd.git/commit
Report about syntax errors with metadata
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 16 Apr 2013 02:25:58 +0000 (22:25 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Apr 2013 04:09:16 +0000 (00:09 -0400)
commite8e581bf256b8c0fbd430935af79fa0e8ee570a1
treeb203161b3797ff9df6444c0696e402448ffbda69
parentc1b6628d64e5340d905d974bb95d673a4aae60c1
Report about syntax errors with metadata

The information about the unit for which files are being parsed
is passed all the way down. This way messages land in the journal
with proper UNIT=... or USER_UNIT=... attribution.

'systemctl status' and 'journalctl -u' not displaying those messages
has been a source of confusion for users, since the journal entry for
a misspelt setting was often logged quite a bit earlier than the
failure to start a unit.

Based-on-a-patch-by: Oleksii Shevchuk <alxchk@gmail.com>
18 files changed:
src/bootchart/bootchart.c
src/core/load-dropin.c
src/core/load-fragment.c
src/core/load-fragment.h
src/core/main.c
src/core/unit.h
src/journal/journald-server.c
src/journal/journald-server.h
src/login/logind-action.c
src/login/logind-action.h
src/login/logind.c
src/python-systemd/docs/id128.rst
src/shared/conf-parser.c
src/shared/conf-parser.h
src/shared/install.c
src/systemd/sd-messages.h
src/test/test-unit-file.c
src/tty-ask-password-agent/tty-ask-password-agent.c