summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik
diff options
context:
space:
mode:
authorEduard Bachmakov <eduarrrd@users.noreply.github.com>2024-08-10 11:16:25 +0200
committerEduard Bachmakov <eduarrrd@users.noreply.github.com>2024-08-10 11:16:25 +0200
commit7cc66df3ec13587facaf48fe7c6d122984a2d613 (patch)
tree78a51ff201f3650e0e13debcd8624518fa731ea4 /pkgs/development/python-modules/python-mapnik
parentcb9a96f23c491c081b38eab96d22fa958043c9fa (diff)
nixos/systemd/initrd: Set /etc/hostname in the initrd.
With the the Systemd-based initrd, systemd-journald is doing the logging. One of Journald's Trusted Journal Fields is `_HOSTNAME` (systemd.journal-fields(7)). Without explicitly setting the hostname via this file or the kernel cmdline, `localhost` is used and captured in the journal. As a result, a boot's log references multiple hostnames. With centralized log collection this breaks filtering (more so when logs from multiple Systemd-based initrds are streaming in simultaneously. Fixes #318907.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions