priv-kweihmann / systemdlint

Systemd Linter
BSD 2-Clause "Simplified" License
32 stars 7 forks source link

Align InvalidValue settings to systemd documentation #69

Closed zgauci closed 4 months ago

zgauci commented 4 months ago

Summary

Resolve various false-positive findings related to Link and Network sections of Unit files which were showing up on my builds.

Details

Validation

I added a few tests to more accurately characterize the *BufferSize fields. I also added new Name & Description tests alongside the similar ones for other sections (although I'm not sure why they're in 2.31 specifically). I did not add specific tests for the higher flexibility on MTUBytes as that didn't seem to be worth an explicit test case.