Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753134 - sys-fs/eudev change group uucp to dialout
Summary: sys-fs/eudev change group uucp to dialout
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: eudev team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-11-04 17:01 UTC by Ed Wildgoose
Modified: 2023-10-11 20:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Wildgoose 2020-11-04 17:01:12 UTC
Upstream udev appears to have (long ago) changed to using serial ports having GROUP="dialout", however, eudev is still reverting this. 

For example bug #691746 changed gpsd to use the new dialout group and it currently fails to work with eudev 3.2.9 as a result

Is there something holding us back from following this change and removing the "revert" from the eudev package?

I propose the following patch:

--- ./repos/gentoo/sys-fs/eudev/eudev-3.2.9.ebuild	2020-06-08 16:27:48.656645383 +0000
+++ /tmp/eudev-3.2.9.ebuild	2020-11-04 16:57:21.565077143 +0000
@@ -84,10 +84,6 @@
 }

 src_prepare() {
-	# change rules back to group uucp instead of dialout for now
-	sed -e 's/GROUP="dialout"/GROUP="uucp"/' -i rules/*.rules \
-	|| die "failed to change group dialout to uucp"
-
 	eapply_user
 	eautoreconf
 }
Comment 1 orbea 2023-09-12 18:01:09 UTC
Why was the group changed in the first place? It was part of the github initial commit so that 'git blame' didn't really explain and unfortunately I am not sure how to test gpsd.

I did test removing the sed, I don't see anything broken yet.
Comment 2 Ed Wildgoose 2023-09-12 20:42:16 UTC
Uff, now you are asking tricky questions...

A quick google search suggests that other distributions are referencing the group "dialout" for serial devices, at least back before 2012. I think at this point it seems like a done deal, everything else that I'm aware of is using group "dialout", so I think the correct answer is that

However, I think this bug can be closed, because eudev is going away?

In answer to your question, the sed changes the udev rules, which in turn set default permissions on devices identified by those rules. So check if you have matching devices, hotplug them and if they aren't being set, then probably you have another rule masking it...

Is there any disagreement to moving to group "dialout"??