From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 10 06:20:28 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CE831BF for ; Thu, 10 Jul 2014 06:20:28 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AE5D2601 for ; Thu, 10 Jul 2014 06:20:28 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6A6KRxe052731 for ; Thu, 10 Jul 2014 06:20:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191777] New: sysutils/nut: messes up permissions in /dev and causes all sorts of problems Date: Thu, 10 Jul 2014 06:20:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: beastie@tardisi.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 06:20:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191777 Bug ID: 191777 Summary: sysutils/nut: messes up permissions in /dev and causes all sorts of problems Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: beastie@tardisi.com FreeBSD 9.2-RELEASE-p7 #0: Tue Jun 3 11:05:13 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC new with nut-2.7+ is /usr/local/etc/devd/nut-usb.conf Which might be useful in principle, but only causes problems. Because it has blocks like this: notify 100 { match "system" "USB"; match "subsystem" "DEVICE"; match "type" "ATTACH"; match "vendor" "0x0001"; match "product" "0x0000"; action "chgrp _ups /dev/$device-name*; chmod g+rw /dev/$device-name*"; }; Where $device-name is undefined, so it reduces to '/dev/*' for the chgrp and chmod operations. The man page says $device-name is one of the variables available for a 'match' block, makes no mention of it being available with 'notify'. Only affects users with USB attached UPSs.. so it stumped me for a while on why it was only happening to this machine. Plus it was secondary, though now it might be the true cause, to the endless cycle of panics from updating to 9.1-RELEASE-p10....instead of the backtraces pointing to vboxnet. Since rolling back to -p9 didn't solve things... -- You are receiving this mail because: You are the assignee for the bug.