From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6DE7413838B for ; Fri, 26 Sep 2014 16:13:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DA1BE0B90; Fri, 26 Sep 2014 16:13:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DDFD2E0B86 for ; Fri, 26 Sep 2014 16:13:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DE4DD33BDEC for ; Fri, 26 Sep 2014 16:13:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -0.353 X-Spam-Level: X-Spam-Status: No, score=-0.353 tagged_above=-999 required=5.5 tests=[AWL=-0.150, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.703, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kJjx_2UCTe1p for ; Fri, 26 Sep 2014 16:12:59 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB3363401BA for ; Fri, 26 Sep 2014 16:12:58 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XXY8d-0001US-NL for gentoo-user@gentoo.org; Fri, 26 Sep 2014 18:12:55 +0200 Received: from c-24-118-110-103.hsd1.mn.comcast.net ([24.118.110.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 18:12:55 +0200 Received: from grant.b.edwards by c-24-118-110-103.hsd1.mn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 18:12:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: /dev/ttyUSB* group changed from uucp to root? Date: Fri, 26 Sep 2014 16:12:43 +0000 (UTC) Message-ID: References: <20140924221330.02ecb0ee@hactar.digimed.co.uk> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-24-118-110-103.hsd1.mn.comcast.net User-Agent: slrn/1.0.1 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: 17db1a08-3461-4597-91aa-405d26e11828 X-Archives-Hash: 33453ba84c109d195b3ed7f22b008ff4 On 2014-09-25, Mike Gilbert wrote: > On Thu, Sep 25, 2014 at 11:28 AM, Grant Edwards > wrote: >> On 2014-09-25, Mike Gilbert wrote: >>> On Wed, Sep 24, 2014 at 6:28 PM, Grant Edwards >>> wrote: >>>> On 2014-09-24, Neil Bothwick wrote: >>>>> On Wed, 24 Sep 2014 19:42:56 +0000 (UTC), Grant Edwards wrote: >>>>> >>>>>> After an update yesterday, I've noticed that the group assigned to >>>>>> ttyUSB devices has changed from uucp to root. Non-USB serial ports >>>>>> still seem to be uucp. >>>>> >>>>> What did you update? They are still root:uucp here. >>>> >>>> Several things got updated, but the most likely suspect is probably >>>> sys-fs/udev-215-r1 => sys-fs/udev-216. But, I don't see any changes >>>> in the default rules to account for the change in behavior. >>> >>> I'm running systemd-216, and I see this in >>> /lib/udev/rules.d/50-udev-default.rules: >>> >>> KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", >>> GROUP="uucp" The test trace shows that rule setting the group to 14 (uucp). >>> I suppose it is possible that some later rule overrides it, but I >>> don't see anything obvious. It appears to be overridden by /lib64/udev/rules.d/99-openocd.rules Which sets the group to 0 (root). The weird thing is that I don't know where that file came from. Dong an "equery belongs" doesn't show it belonging to any package. I do have dev-embedded/openocd installed, but it doesn't own that file... But, doing an emerge -C openocd removed the file /lib64/udev/rules.d/99-openocd.rules. It looks like a bug in the openOCD rules is causing it to recognize somthing that it shouldn't. Checking the emerge logs shows that openocd was emerged about a week prior to the udev update (and I must have been mistaken about exactly when the failure started). -- Grant