public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rfc: handling the "uucp" group
@ 2018-02-08 19:03 William Hubbs
  2018-02-08 20:24 ` Mike Gilbert
  2018-02-08 20:32 ` Ulrich Mueller
  0 siblings, 2 replies; 5+ messages in thread
From: William Hubbs @ 2018-02-08 19:03 UTC (permalink / raw
  To: gentoo development

[-- Attachment #1: Type: text/plain, Size: 598 bytes --]

Hi all,

I have noticed that in the latest versions of udev we are  patching the
default upstream rules to  accomodate our "uucp"  group.

I don't think it is a good idea to patch default rules, so, I want to
bring up possible fixes.

First, baselayout has had the "dialout" group since 2015, so the
longterm fix imo is to possibly use that instead of the uucp group. What
would it take to make that happen, or are we stuck with the uucp group
forever?

Also, I think if we are stuck with the uucp group we should write a rule
of our own instead of patching the default rules.

Thoughts?

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] rfc: handling the "uucp" group
  2018-02-08 19:03 [gentoo-dev] rfc: handling the "uucp" group William Hubbs
@ 2018-02-08 20:24 ` Mike Gilbert
  2018-02-08 20:32 ` Ulrich Mueller
  1 sibling, 0 replies; 5+ messages in thread
From: Mike Gilbert @ 2018-02-08 20:24 UTC (permalink / raw
  To: Gentoo Dev

On Thu, Feb 8, 2018 at 2:03 PM, William Hubbs <williamh@gentoo.org> wrote:
> Hi all,
>
> I have noticed that in the latest versions of udev we are  patching the
> default upstream rules to  accomodate our "uucp"  group.
>
> I don't think it is a good idea to patch default rules, so, I want to
> bring up possible fixes.
>
> First, baselayout has had the "dialout" group since 2015, so the
> longterm fix imo is to possibly use that instead of the uucp group. What
> would it take to make that happen, or are we stuck with the uucp group
> forever?

I think a news item targeting current eudev/udev/systemd users
announcing the change would suffice. Basically, the change means that
modem/serial devices will be owned by the "dialout" group instead of
"uucp", so people will need to update their group membership settings
if they rely on that.

> Also, I think if we are stuck with the uucp group we should write a rule
> of our own instead of patching the default rules.

If we keep the uucp group, I would prefer to continue patching the
udev rule. This makes it very simple to notice if/when upstream makes
changes to it.

Whatever you do, please keep the systemd and eudev teams in the loop
-- this affects more than just sys-fs/udev.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] rfc: handling the "uucp" group
  2018-02-08 19:03 [gentoo-dev] rfc: handling the "uucp" group William Hubbs
  2018-02-08 20:24 ` Mike Gilbert
@ 2018-02-08 20:32 ` Ulrich Mueller
  2018-02-08 22:55   ` R0b0t1
  1 sibling, 1 reply; 5+ messages in thread
From: Ulrich Mueller @ 2018-02-08 20:32 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

>>>>> On Thu, 8 Feb 2018, William Hubbs wrote:

> First, baselayout has had the "dialout" group since 2015, so the
> longterm fix imo is to possibly use that instead of the uucp group.
> What would it take to make that happen, or are we stuck with the
> uucp group forever?

There was an old discussion on this in bug 108249 [1]. The decision
back in 2005 was to use the "uucp" group (because apparently that was
what both Debian and Fedora did at the time), but IIRC it was pretty
much arbitrary.

So I don't see a reason why we couldn't use "dialout" instead.

Ulrich


[1] https://bugs.gentoo.org/108249

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] rfc: handling the "uucp" group
  2018-02-08 20:32 ` Ulrich Mueller
@ 2018-02-08 22:55   ` R0b0t1
  2018-02-09  6:13     ` Ulrich Mueller
  0 siblings, 1 reply; 5+ messages in thread
From: R0b0t1 @ 2018-02-08 22:55 UTC (permalink / raw
  To: gentoo-dev

On Thu, Feb 8, 2018 at 2:32 PM, Ulrich Mueller <ulm@gentoo.org> wrote:
>>>>>> On Thu, 8 Feb 2018, William Hubbs wrote:
>
>> First, baselayout has had the "dialout" group since 2015, so the
>> longterm fix imo is to possibly use that instead of the uucp group.
>> What would it take to make that happen, or are we stuck with the
>> uucp group forever?
>
> There was an old discussion on this in bug 108249 [1]. The decision
> back in 2005 was to use the "uucp" group (because apparently that was
> what both Debian and Fedora did at the time), but IIRC it was pretty
> much arbitrary.
>
> So I don't see a reason why we couldn't use "dialout" instead.
>

UUCP doesn't have any intrinsic relationship with modems, though it
probably finds (found) most use over modems. Was "dialout" or "tty"
changed to "uucp" for some reason?

If possible please use dialout, as very few modems are teletypes.

It makes the most sense to me to give a uucp user dialout or tty
permission, instead of adding myself to the uucp group, a name which
references programs most people won't have installed and won't know
about.

Cheers,
     R0b0t1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] rfc: handling the "uucp" group
  2018-02-08 22:55   ` R0b0t1
@ 2018-02-09  6:13     ` Ulrich Mueller
  0 siblings, 0 replies; 5+ messages in thread
From: Ulrich Mueller @ 2018-02-09  6:13 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

>>>>> On Thu, 8 Feb 2018, R0b0t1  wrote:

> It makes the most sense to me to give a uucp user dialout or tty
> permission, instead of adding myself to the uucp group, a name which
> references programs most people won't have installed and won't know
> about.

The tty group has an entirely different purpose, namely to allow
programs such as write(1) and wall(1) access other users' terminals.
So conflating it with dialout or uucp would be wrong.

Ulrich

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-09  6:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-08 19:03 [gentoo-dev] rfc: handling the "uucp" group William Hubbs
2018-02-08 20:24 ` Mike Gilbert
2018-02-08 20:32 ` Ulrich Mueller
2018-02-08 22:55   ` R0b0t1
2018-02-09  6:13     ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox