profile
viewpoint

onjen/corebird 0

Native Gtk+ Twitter Client

onjen/gnome-shell-extensions-mediaplayer 0

A mediaplayer indicator for the gnome-shell.

onjen/luci 0

LuCI - OpenWrt Configuration Interface

onjen/packages 0

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md

onjen/patentrecht 0

Zusammenfassung des Faches Patentrecht (German summary of the patent law course)

push eventonjen/dotfiles

Johannes Rothe

commit sha 62dcacbe48540787863d0ec65838298b0f545915

add correct TERM to tmux

view details

push time in a month

issue commentsystemd/systemd

sytemd-journald config silently falls back to default config with inline comment in config file

Sure, I checked dmesg as well, but nothing there is no error shown when trying to load the config file. Just the default of 4GB is applied again.

[Wed Aug 12 19:50:07 2020] systemd[1]: Stopping Journal Service...
[Wed Aug 12 19:50:07 2020] systemd[1]: systemd-journald.service: Succeeded.
[Wed Aug 12 19:50:07 2020] systemd[1]: Stopped Journal Service.
[Wed Aug 12 19:50:07 2020] systemd[1]: Starting Journal Service...
[Wed Aug 12 19:50:08 2020] systemd[1]: Started Journal Service.
[Wed Aug 12 19:50:31 2020] systemd[1]: Stopping Journal Service...
[Wed Aug 12 19:50:31 2020] systemd[1]: systemd-journald.service: Succeeded.
[Wed Aug 12 19:50:31 2020] systemd[1]: Stopped Journal Service.
[Wed Aug 12 19:50:31 2020] systemd[1]: Starting Journal Service...
[Wed Aug 12 19:50:31 2020] systemd[1]: Started Journal Service.

I also checked version 246-2 and it shows the same behavior.

onjen

comment created time in a month

issue openedsystemd/systemd

sytemd-journald config silently falls back to default config with inline comment in config file

systemd version the issue has been seen with 245.6-2

Used distribution debian testing

Expected behaviour you didn't see An error when loading a config file with inline comment.

Unexpected behaviour you saw Config was not loaded but no error was thrown. It just silently fall back to the default config.

Steps to reproduce the problem Edit and entry /etc/systemd/journald.conf for example SystemMaxUse=6G restart systemd-journald. Everything is fine. journalctl -u systemd-journald shows the new value has been loaded successfully. systemd-journald[3020]: System Journal (/var/log/journal/650aa7e3d265476b8579154406431ac8) is 272.0M, max 6.0G, 5.7G free.

But now add an inline comment in that line, for example SystemMaxUse=6G # foo, restart systemd-journald. No error is thrown while trying to load the config, but the value silently went back to 4G from the default config. journalctl -u systemd-journald shows systemd-journald[3727]: System Journal (/var/log/journal/650aa7e3d265476b8579154406431ac8) is 272.0M, max 4.0G, 3.7G free. I would have expected at least a warning in the log, that the line is ignored.

created time in a month

more