Public bug reported:

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.

** Affects: shadow (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: shadow (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: shadow (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: shadow (Ubuntu Impish)
     Importance: Undecided
         Status: New

** Affects: shadow (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Also affects: shadow (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: shadow (Ubuntu Impish)
   Importance: Undecided
       Status: New

** Also affects: shadow (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: shadow (Ubuntu Focal)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to