This line is considered valid 1 |# Comment however, on this one 1| #Comment tmpfiles.d's parser fails. For example, parsing /usr/lib/tmpfiles.d/tor.conf (net-misc/tor) fails on the first line. Reproducible: Always Steps to Reproduce: 1. Modify an entry (or create a new one) in /usr/lib/tmpfiles.d 2. Run `rc-service tmpfiles.setup restart' Actual Results: The 'ignoring invalid entry on line...' warning was printed. Expected Results: The parser should not have failed on a comment.
Created attachment 377818 [details, diff] This patch fixes the issue.
Created attachment 377820 [details, diff] Fixed patch Sorry, accidentally removed the wrong block.
This is fixed in commit 094bc17 and will be in OpenRC-0.13. Thanks for the report.