Previously we'd just check if the ID was no-empty an no longer than FILENAME_MAX. The latter was probably a mistake, given the comment next to it. Instead of fixing that to check for NAME_MAX let's instead just switch over to filename_is_valid() which odes a similar check, plus a some minor additional checks. After all we do want that valid EFI boot menu entry ids are usable as filenames.
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
