Description of problem: usbguard does not save a rule if RuleFile is not defined eventhough RuleFolder is defined and there is a file in it Version-Release number of selected component (if applicable): usbguard-1.0.0-9.el9 How reproducible: 100% Steps to Reproduce: 1. remove / comment out the RuleFile in the usbguard-daemon.conf 2. make sure the RuleFolder is correctly set and there's at least one rule file in the folder 3. start the daemon 4. try to add a rule `usbguard append-rule 'allow with-interface { 08:00:00 07:06:00 }'` Actual results: no rule is saved into a file in rules.d Expected results: the rule is saved into a file in rules.d
Scratch-build: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=1753247
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (usbguard bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2351