Bug 89581

Summary: systemd-journald does not honor /etc/systemd/journald.conf.d/*.conf files
Product: systemd Reporter: Chris Atkinson <cwa>
Component: generalAssignee: systemd-bugs
Status: RESOLVED INVALID QA Contact: systemd-bugs
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Chris Atkinson 2015-03-15 17:07:49 UTC
Since 218, drop in files in /etc/systemd/journald.conf.d/ are supposed to be parsed and take precedence. This does not appear to be working.

This was reported by user fukawi2 in this Arch Forums post:

https://bbs.archlinux.org/viewtopic.php?id=194833

I have been able to recreate fukawi2's problem. (Note that while fukawi2's drop in file lacked a [Journal] header, mine had one and it made no difference.)

This is easy enough to work around, since and edited /etc/systemd/journald.conf works.

Regards,
Comment 1 Zbigniew Jedrzejewski-Szmek 2015-03-15 17:28:46 UTC
It works for me :)

Please make sure that the file has a .conf extension, there's the section header, and no typos, and journald has been reloaded.

If there's still a problem try:
$ systemctl edit systemd-journald
[Service]
ExecStart=
ExecStart=/bin/strace -D -o /tmp/log -e file /usr/lib/systemd/systemd-journald

This should create /etc/systemd/system/systemd-journald.service.d/override.conf.
Then restart the unit, and look at /tmp/log. There should be a statement like

open("/etc/systemd/journald.conf.d/local.conf", O_RDONLY|O_CLOEXEC) = 8
Comment 2 Chris Atkinson 2015-03-16 01:16:35 UTC
Eeep, EBKAC. Please close and accept my apologies.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.