From nobody Mon Oct 17 08:31:17 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MrVZZ29TJz4fG3R for ; Mon, 17 Oct 2022 08:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MrVZZ1927z3Nwr for ; Mon, 17 Oct 2022 08:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MrVZZ0F2wzlF7 for ; Mon, 17 Oct 2022 08:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29H8VHpZ021796 for ; Mon, 17 Oct 2022 08:31:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29H8VH9U021781 for ports-bugs@FreeBSD.org; Mon, 17 Oct 2022 08:31:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267144] sysutils/nut does not start Date: Mon, 17 Oct 2022 08:31:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ml@netfence.it X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665995478; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k28UxsM80HwCtUr++XTNp2HaemnDdaxIUewqeHpj8AA=; b=RnxY8Fid360BG/JobknETFBreICBecLYkZdz6Nyu/fsJSJNBEAzaW2ZbwMxACnvCxo6+GB qzQ8KofkuLRfBe7PlQSx590zDeQVK/RtanumuzGwzpSIMqBNNi+vxn+o85kiszjvhKUifh fHvXoHRZrg6MAH4uwwh45B2QhCCZs+DRjt7wHIf1zWKU2F2fNWT/1zSPX65djmAlk9gdss PlcSxjCfhnz+UCFkliVclqO3a9zb1OAMBE1Lwvvxy3dSO/5/v+ay0B7UD9DMZbgKIsr0jh UEZIHKbxc2f29HcketA10QpmmyOiEK827VPXlkvd27JnQGf301mAeXuQJFG7mg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665995478; a=rsa-sha256; cv=none; b=tzdB8f93Ss5YuaCdRdD7caKqKGZQ1ozM40Ljgj8rwJpXFaFi2J1jqP5jcJkmw9/LNjbxsW M1gZ6+9EJfoU9DzrFjXGBK2ZNWc+zOtH3Vf9W9lWzouoldc2P8nx+4GNYAFbaUDzSfvME6 jNc6HN0tIHnDGeYV2WKsLsmqnZ/I9qCTnQdfXK+GWTMOiINa5kHU2K1isywsrac+hENv4I 9hgtx7mss5MBKr5mNAfhuRxxocKN4eT+i3AHlKzLj1lOe9YDFrvdQX3QRvqfrEZ1d3PgqT R3hdhs8WI9dW+mqJIx5wK3APG34+EAJav5LQHjBoz0jrU+bWL7t9V4WnKRxatA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267144 Bug ID: 267144 Summary: sysutils/nut does not start Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: ml@netfence.it Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Since a few weeks I have a problem with NUT not starting due to USB device permissions; I don't know if it was a FreeBSD upgrade or a NUT upgrade that broke this, but this is happening on several different systems. I *think* it happened around the time I switched to the 2022Q3 branch for ports. > # service nut restart > nut not running? (check /var/db/nut/upsd.pid). > Network UPS Tools - UPS driver controller 2.8.0 > Network UPS Tools - Generic HID driver 0.47 (2.8.0) > USB communication driver (libusb 1.0) 0.43 > interrupt pipe disabled (add 'pollonly' flag to 'ups.conf' to get rid of = this message) > Can't claim USB device [051d:0003]@0/0: Other error > Driver failed to start (exit status=3D1) > /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut > # usbconfig ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST = spd=3DSUPER (5.0Gbps) pwr=3DSAVE (0mA) > ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3D= LOW (1.5Mbps) pwr=3DON (100mA) > ugen0.3: at usbus0, cfg=3D0 md=3DHOST spd=3DLOW (= 1.5Mbps) pwr=3DON (90mA) > ugen0.4: a= t usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (10mA) > # ls -l /dev/|grep ugen > lrwxr-xr-x 1 root wheel 9 Sep 24 10:59 ugen0.1 -> usb/0.1.0 > lrwxr-xr-x 1 root wheel 9 Sep 24 10:59 ugen0.2 -> usb/0.2.0 > lrwxr-xr-x 1 root wheel 9 Sep 24 10:59 ugen0.3 -> usb/0.3.0 > lrwxr-xr-x 1 root wheel 9 Sep 24 10:59 ugen0.4 -> usb/0.4.0 > # ls -l /dev/usb/ > total 0 > crw------- 1 root operator 0x2d Sep 24 10:59 0.1.0 > crw------- 1 root operator 0x55 Sep 24 10:59 0.1.1 > crw------- 1 root operator 0x74 Sep 24 10:59 0.2.0 > crw------- 1 root operator 0x76 Sep 24 10:59 0.2.1 > crw------- 1 root operator 0x77 Sep 24 10:59 0.3.0 > crw------- 1 root operator 0x79 Sep 24 10:59 0.3.1 > crw------- 1 root operator 0x7a Sep 24 10:59 0.3.2 > crw-rw---- 1 root uucp 0x7d Sep 24 08:25 0.4.0 > crw------- 1 root operator 0x7f Sep 24 10:59 0.4.1 The only way I was able to solve this is by issuing: upsdrvctl -u root start upsdrvctl stop service nut start However, I need to manually do this after each reboot. --=20 You are receiving this mail because: You are the assignee for the bug.=