[Bug 1959375] Re: [SRU] Please support group manipulation with "extrausers"

Alberto Mardegan 1959375 at bugs.launchpad.net
Mon Mar 14 06:06:53 UTC 2022


I tested a newer version of the patch that Michael sent me, and I verify
that it works properly :-)

I'm attaching it here; it includes changes to the
1015_add_zsys_support.patch, but that's only as a result of a quilt
refresh, since the patch did not apply cleanly anymore (since
src/usermod.c was modified in our patch before).

I've been testing this on Focal.

** Patch added: "Patch for focal"
   https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1959375/+attachment/5568568/+files/0001-Add-automatic-detection-of-extrausers-for-usermod-G.patch

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

Title:
  [SRU] Please support group manipulation with "extrausers"

Status in shadow package in Ubuntu:
  New
Status in shadow source package in Bionic:
  New
Status in shadow source package in Focal:
  New
Status in shadow source package in Impish:
  New
Status in shadow source package in Jammy:
  New

Bug description:
  Currently doing something like:

      sudo usermod -a -G snap_microk8s dbeamonte

  on a Ubuntu Core system will fail with

      usermod: /etc/group.15965: Read-only file system

  This is because the existing usermod patches to detect
  the extrausers file do not cover this case. Attached
  a simple patch that enables it. I will give this patch
  a test run in our image PPA for jammy and if things look
  good I would like upload to 22.04 and SRU for 20.04 and
  18.04.

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




More information about the foundations-bugs mailing list