[Bug 1923363] Re: [FFe] Users are not added to the dialout group

Dimitri John Ledkov 1923363 at bugs.launchpad.net
Tue Apr 13 20:06:56 UTC 2021


@vorlon this is the same user that already is in `sudo` & `lxd` groups,
thus they can do that anyway.

To use the real UART rx/tx pins one has to disable bluetooth and use
/dev/ttyAMA0

For gpio pins, I see that some use group `gpio` and then mark
/dev/gpiomem to be owned by gpio group.

We should be able to create a new groupname and use that one, as long as
the udev rule for it has the matching group.

Dave, is this to access ttyAMA0 or to access something else? i2c,
gpiomem, etc?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to user-setup in Ubuntu.
https://bugs.launchpad.net/bugs/1923363

Title:
  [FFe] Users are not added to the dialout group

Status in ubiquity package in Ubuntu:
  Incomplete
Status in user-setup package in Ubuntu:
  Incomplete

Bug description:
  We're attempting to make the GPIO system on the Raspberry Pi images
  work "out of the box" on the new image. By default, GPIO kernel
  devices are made available to members of the "dialout" group which the
  initial user is added to by default on our server images. However,
  we've noticed that this isn't the case on the desktop images.

  The regression potential is minimal; the group already exists and
  we're simply adding the freshly created user to a new group and not
  removing any existing memberships. The group in question ("dialout")
  is also rarely used these days except for providing access to serial
  consoles, and as mentioned above is already a default membership on
  the server images. The change has been tested on the desktop image
  successfully.

  A test build of the updated image will be made under
  https://launchpad.net/~waveform/+archive/ubuntu/ubiquity and I'll
  attach a debdiff shortly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1923363/+subscriptions



More information about the foundations-bugs mailing list