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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1959375

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to