> > Understanding that usbguard is a target for main, I've been running it
> > on my laptop for a little while and can say that there is a real issue
> > with the daemon stopping which causes all USB inserts to fail closed
> > until the daemon is restarted. I've also suspected some external
> 
> Did you get any logs or apport crash reports when it died?

Ok, it just happened to me when plugging in a usb drive. It didn't
crash:

$ systemctl status usbguard
● usbguard.service - USBGuard daemon
   Loaded: loaded (/lib/systemd/system/usbguard.service; enabled; vendor 
preset: enab
   Active: active (running) since Mon 2019-04-08 06:47:50 CDT; 4 days ago
     Docs: man:usbguard-daemon(8)
 Main PID: 2404 (usbguard-daemon)
    Tasks: 2 (limit: 4915)
   Memory: 8.9M
   CGroup: /system.slice/usbguard.service
           └─2404 /usr/sbin/usbguard-daemon -f -s -c 
/etc/usbguard/usbguard-daemon.co

Apr 12 06:59:48 foo usbguard-daemon[2404]: ueventProcessRead: failed to read pen
Apr 12 06:59:48 foo usbguard-daemon[2404]: UEventDeviceManager thread: UEvent de
Apr 12 07:45:47 foo systemd[1]: /lib/systemd/system/usbguard.service:7: PIDFile=
Apr 12 07:45:50 foo systemd[1]: /lib/systemd/system/usbguard.service:7: PIDFile=
Apr 12 10:48:36 foo systemd[1]: /lib/systemd/system/usbguard.service:7: PIDFile=
Apr 12 10:48:37 foo systemd[1]: /lib/systemd/system/usbguard.service:7: PIDFile=
Apr 12 10:49:24 foo systemd[1]: /lib/systemd/system/usbguard.service:7: PIDFile=
Apr 12 10:49:25 foo systemd[1]: /lib/systemd/system/usbguard.service:7: PIDFile=
Apr 12 13:33:10 foo systemd[1]: /lib/systemd/system/usbguard.service:7: PIDFile=
Apr 12 13:33:11 foo systemd[1]: /lib/systemd/system/usbguard.service:7: PIDFile=

but did seem to stop processing events:
Apr 12 06:59:48 foo usbguard-daemon[2404]: ueventProcessRead: failed to read 
pending uevent: rc=-1 errno=105
Apr 12 06:59:48 foo usbguard-daemon[2404]: UEventDeviceManager thread: UEvent 
device manager: recvmsg: No buffer space available

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1816548

Title:
  [MIR] usbguard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usbguard/+bug/1816548/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to