RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1835210 - Crash: usbguard-daemon[2792]: sigwaitinfo failed: errno=4; Shutting down.
Summary: Crash: usbguard-daemon[2792]: sigwaitinfo failed: errno=4; Shutting down.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: usbguard
Version: 8.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.0
Assignee: Radovan Sroka
QA Contact: Dalibor Pospíšil
URL:
Whiteboard:
Depends On: 1738590
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-13 11:55 UTC by Leon Fauster
Modified: 2020-11-04 03:16 UTC (History)
2 users (show)

Fixed In Version: usbguard-0.7.8-2.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:16:38 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Leon Fauster 2020-05-13 11:55:01 UTC
################
Description of problem:
################


RHEL8 Workstation 

Usbguard does not run anymore. It crashes in this case after ~1 hour. Is systemd's reload triggering this?

# journalctl -b |tee
Mai 13 13:42:33 sd.localdomain systemd[1]: Started /usr/bin/systemctl start man-db-cache-update.
Mai 13 13:42:33 sd.localdomain systemd[1]: cgroup compatibility translation between legacy and unified hierarchy settings activated. See cgroup-compat debug messages for details.
Mai 13 13:42:33 sd.localdomain systemd[1]: Starting man-db-cache-update.service...
Mai 13 13:42:33 sd.localdomain systemd[1]: Reloading.
Mai 13 13:42:33 sd.localdomain usbguard-daemon[2792]: sigwaitinfo failed: errno=4; Shutting down.


# systemctl status usbguard
● usbguard.service - USBGuard daemon
   Loaded: loaded (/usr/lib/systemd/system/usbguard.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Wed 2020-05-13 13:42:33 CEST; 5min ago
     Docs: man:usbguard-daemon(8)
 Main PID: 2792 (code=exited, status=0/SUCCESS)

Mai 13 12:44:06 stand.localdomain usbguard-daemon[2792]: _____________<snip my device list>_________
Mai 13 13:42:33 stand.localdomain usbguard-daemon[2792]: sigwaitinfo failed: errno=4; Shutting down.

# systemctl is-enabled  usbguard
enabled



################
Version-Release number of selected component (if applicable):
################


# rpm -q usbguard
usbguard-0.7.4-2.el8.x86_64


################
Expected results:
################


Running daemon like:

# systemctl status usbguard
● usbguard.service - USBGuard daemon
   Loaded: loaded (/usr/lib/systemd/system/usbguard.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2020-05-13 13:52:54 CEST; 1s ago
     Docs: man:usbguard-daemon(8)
  Process: 14995 ExecStart=/usr/sbin/usbguard-daemon -f -s -c /etc/usbguard/usbguard-daemon.conf (code=exited, status=0/SUCCESS)
 Main PID: 14997 (usbguard-daemon)
    Tasks: 3 (limit: 26213)
   Memory: 1.7M
   CGroup: /system.slice/usbguard.service
           └─14997 /usr/sbin/usbguard-daemon -f -s -c /etc/usbguard/usbguard-daemon.conf



################
Additional info:
################


# cat /etc/usbguard/rules.conf|wc -l
27

# grep -v ^"#" /etc/usbguard/usbguard-daemon.conf |sort -u

AuditBackend=FileAudit
AuditFilePath=/var/log/usbguard/usbguard-audit.log
DeviceManagerBackend=uevent
DeviceRulesWithPort=false
ImplicitPolicyTarget=block
InsertedDevicePolicy=apply-policy
IPCAccessControlFiles=/etc/usbguard/IPCAccessControl.d/
IPCAllowedGroups=wheel
IPCAllowedUsers=root
PresentControllerPolicy=apply-policy
PresentDevicePolicy=apply-policy
RestoreControllerDeviceState=false
RuleFile=/etc/usbguard/rules.conf

Comment 13 errata-xmlrpc 2020-11-04 03:16:38 UTC
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/RHEA-2020:4719


Note You need to log in before you can comment on or make changes to this bug.