usbguard daemon fails to start after upgrade
Description:
After upgrading usbguard to 1.1.3-1 both usbguard.service and usbguard-dbus.service fail to start.
This messages appear in the system journal:
usbguard-daemon[1434]: [1719135730.047] (E) getConfigsFromDir: opendir: /etc/usbguard/rules.d: No such file or directory
usbguard-daemon[1434]: getConfigsFromDir: opendir: /etc/usbguard/rules.d: No such file or directory
Additional info:
- package version(s):
- usbguard 1.1.3-1
- config and/or log files: N/A
- link to upstream bug report, if any: N/A
Steps to reproduce:
- Boot the system
- Check for usbguard service: systemctl status usbguard.service
- It shows the error while it should be running instead.
Work-around:
Create the directory and restart the two services:
sudo mkdir /etc/usbguard/rules.d
sudo systemctl restart usbguard.service
sudo systemctl restart usbguard-dbus.service
Edited by Stanislav T