Typos in systemd services #879

Closed
opened 2025-11-20 05:19:09 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @ishanarora on GitHub (May 13, 2024).

The systemd units in release_files/systemd cause the following warnings in systemd journal:

systemd[1]: /usr/lib/systemd/system/netbird@.service:16: Unknown key name 'LogDirectory' in section 'Service', ignoring.
systemd[1]: /usr/lib/systemd/system/netbird@.service:31: Failed to parse boolean value, ignoring: no  # needed to load wg module for kernel-mode WireGuard

The first error is explained by:

          it's `LogsDirectory` not `LogDirectory`, also currently only `State` and `Runtime` directories are used?

Originally posted by @nazarewk in https://github.com/netbirdio/netbird/issues/1079#issuecomment-1940613247

The second error is explained by:

          Each file is a plain text file divided into sections, with configuration entries in the style key=value. Whitespace immediately before or after the "=" is ignored. Empty lines and lines starting with "#" or ";" are ignored, which may be used for commenting.

Source: https://www.freedesktop.org/software/systemd/man/latest/systemd.syntax.html

Originally created by @ishanarora on GitHub (May 13, 2024). The systemd units in `release_files/systemd` cause the following warnings in systemd journal: ``` systemd[1]: /usr/lib/systemd/system/netbird@.service:16: Unknown key name 'LogDirectory' in section 'Service', ignoring. systemd[1]: /usr/lib/systemd/system/netbird@.service:31: Failed to parse boolean value, ignoring: no # needed to load wg module for kernel-mode WireGuard ``` The first error is explained by: it's `LogsDirectory` not `LogDirectory`, also currently only `State` and `Runtime` directories are used? _Originally posted by @nazarewk in https://github.com/netbirdio/netbird/issues/1079#issuecomment-1940613247_ The second error is explained by: Each file is a plain text file divided into sections, with configuration entries in the style key=value. Whitespace immediately before or after the "=" is ignored. Empty lines and lines starting with "#" or ";" are ignored, which may be used for commenting. _Source: https://www.freedesktop.org/software/systemd/man/latest/systemd.syntax.html_
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

seems like it wasn't closed after merging https://github.com/netbirdio/netbird/pull/1972

@nazarewk commented on GitHub (Apr 23, 2025): seems like it wasn't closed after merging https://github.com/netbirdio/netbird/pull/1972
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#879