[Touch-packages] [Bug 2063200] Re: useradd --extrausers --groups tries to lock /etc/group

2024-04-24 Thread Simon Chopin
The issue was introduced with https://github.com/shadow- maint/shadow/pull/237 Basically, the previous group validation was done using glibc's getgrid directly, which was presumably coping well with the RO status of /etc/group, but that poses consistency problems because you could add a local

[Touch-packages] [Bug 2063200] Re: useradd --extrausers --groups tries to lock /etc/group

2024-04-23 Thread Simon Chopin
** Tags added: foundations-todo -- 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/2063200 Title: useradd --extrausers --groups tries to lock /etc/group Status in shadow

[Touch-packages] [Bug 2063200] Re: useradd --extrausers --groups tries to lock /etc/group

2024-04-23 Thread Simon Chopin
Quick repro steps: ❯ lxc launch ubuntu-daily:noble shadow Creating shadow Starting shadow ❯ lxc exec shadow bash root@shadow:~# mv /etc /etc_write root@shadow:~# mkdir /etc root@shadow:~# mount -o bind,ro /etc_write /etc root@shadow:~# useradd --extrausers --groups somegroup somenewuser useradd:

[Touch-packages] [Bug 2063200] Re: useradd --extrausers --groups tries to lock /etc/group

2024-04-23 Thread Simon Chopin
** Changed in: shadow (Ubuntu) Assignee: (unassigned) => Simon Chopin (schopin) -- 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/2063200 Title: useradd --extrausers