Open bonedaddy opened 2 years ago
May I ask you to specify which rule causes the problem? If there are some problems with generating default rules, I will have to reproduce it first.
@bonedaddy any news?
It would be great to either have the output of sudo usbguard-rule-parser -t -f /etc/usbguard/rules.conf
or a minimal reproducable example file that demos the error with latest Git master
.
Overview
Attempting to use the rules file generated by
usbguard generate-policy
results in a fatal startup error ofparse error matching tao::pegtl::sor<usbguard::RuleParser::comment, usbguard::RuleParser::rule>
. Previously this was working, however i recently upgraded from 20.04 to 20.10. Additonally compilingusbguard
from source ommaster
results in the same error being produced when attempting to use the commandusbguard-rule-parser /etc/usbguard/rules.conf
.Logs
Version Information
usbguard
package informationLinux biggray 5.15.5-76051505-generic #202111250933~1638201579~21.10~09f1aa7 SMP Mon Nov 29 16:23:13 U x86_64 x86_64 x86_64 GNU/Linux
Additional Debugging Information
While attempting to debug the issue i uninstalled usbguard package, and compiled from source. Using the daemon built from source, I can use the existing rules file to start the daemon like so:
However attempting to use the
-C
flag results in an error: