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

2024-09-04 Thread Philip Meulengracht
Hey! Sorry for the slow response from the Core team, I can verify this is now working with passwd in proposed. I was able to add a user with --extrausers and --groups switches together. It no longer fails on locking /etc/groups -- You received this bug notification because you are a member of Ub

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

2024-09-02 Thread Mauricio Faria de Oliveira
The autopkgtests in mysql-8.0/armhf seems to be timeouts (retried), and output mismatch (apparently the shutdown banner is unexpected). The latter might need to be looked at. mysql-8.0/armhf autopkgtests regressions (timeouts and output mismatch) 9086s Completed: Failed 4/1073 tests, 99

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

2024-07-04 Thread Simon Chopin
Reverting the tag while waiting for verification from the Core team (pinged out of band) ** Tags removed: verification-done-noble ** Tags added: verification-needed-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.la

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

2024-07-01 Thread Simon Chopin
You're right, I forgot to ping them! On Mon, Jul 1, 2024 at 11:45 AM Łukasz Zemczak <2063...@bugs.launchpad.net> wrote: > Did we get verification from the Ubuntu Core team if this actually fixes > the problem for them? Looks like it's a required step in the > verification. > > -- > You received t

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

2024-07-01 Thread Łukasz Zemczak
Did we get verification from the Ubuntu Core team if this actually fixes the problem for them? Looks like it's a required step in the verification. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063200

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

2024-06-25 Thread Simon Chopin
Verification done: ii passwd 1:4.13+dfsg1-4ubuntu3.2 amd64change and administer password and group data + apt-get -q install -y libnss-extrausers Reading package lists... Building dependency tree... Reading state information... Suggested packages: libc6-i386 The following NEW p

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

2024-06-25 Thread Simon Chopin
I removed the usermod on extrausers part of the test plan, because it turns out not to work on Jammy either. ** Description changed: [ Impact ] On Ubuntu Core 24 calling the command line useradd --extrausers --groups somegroup somenewuser ... fails with: useradd: cannot lock

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

2024-06-24 Thread Simon Chopin
** Description changed: [ Impact ] On Ubuntu Core 24 calling the command line useradd --extrausers --groups somegroup somenewuser ... fails with: useradd: cannot lock /etc/group; try again later. It worked on 22.04. /etc is not writable. It also fails if somegroup is a

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

2024-06-14 Thread Timo Aaltonen
Hello Valentin, or anyone else affected, Accepted shadow into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/shadow/1:4.13+dfsg1-4ubuntu3.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See h

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

2024-05-29 Thread Launchpad Bug Tracker
This bug was fixed in the package shadow - 1:4.13+dfsg1-4ubuntu5 --- shadow (1:4.13+dfsg1-4ubuntu5) oracular; urgency=medium * d/p/lp2063200/*: amend the patch to fix `useradd -D` breakage (LP: #2063200) -- Simon Chopin Mon, 27 May 2024 18:56:51 +0200 ** Changed in: shadow

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

2024-05-27 Thread Simon Chopin
Thanks for testing and catching that regression! I've found and fixed the issue in an oracular upload. Once it clears -proposed I'll amend the noble-proposed version. ** Changed in: shadow (Ubuntu Noble) Status: Fix Committed => In Progress -- You received this bug notification because yo

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

2024-05-27 Thread Simon Chopin
** Description changed: [ Impact ] On Ubuntu Core 24 calling the command line useradd --extrausers --groups somegroup somenewuser ... fails with: useradd: cannot lock /etc/group; try again later. It worked on 22.04. /etc is not writable. It also fails if somegroup is a

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

2024-05-27 Thread Martin Pitt
** Tags removed: verification-needed verification-needed-noble ** Tags added: verification-failed verification-failed-noble ** Tags added: regression-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/

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

2024-05-27 Thread Marius Vollmer
"useradd -D" has started to fail with passwd 1:4.13+dfsg1-4ubuntu3.1: # useradd -D Usage: useradd [options] LOGIN useradd -D useradd -D [options] Options: --badname do not check for bad names -b, --base-dir BASE_DIR base directory for the home directory

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

2024-05-24 Thread Steve Langasek
Hello Valentin, or anyone else affected, Accepted shadow into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/shadow/1:4.13+dfsg1-4ubuntu3.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See h

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

2024-05-22 Thread Simon Chopin
** Description changed: + [ Impact ] + On Ubuntu Core 24 calling the command line useradd --extrausers --groups somegroup somenewuser ... fails with: useradd: cannot lock /etc/group; try again later. It worked on 22.04. /etc is not writable. It also fails if somegroup is a

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

2024-05-22 Thread Simon Chopin
** Changed in: shadow (Ubuntu Noble) Importance: Undecided => High ** Changed in: shadow (Ubuntu Noble) Status: New => In Progress ** Changed in: shadow (Ubuntu Noble) Assignee: (unassigned) => Simon Chopin (schopin) -- You received this bug notification because you are a member

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

2024-05-22 Thread Simon Chopin
I marked Mantic as Wont Fix since this is a bug that primarily affects Ubuntu Core, Mantic users are likely unaffected, so I'd rather spare them an unnecessary update. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launch

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

2024-05-22 Thread Simon Chopin
I opted for the "quickfix" approach, as it has the merits of minimizing the changes to the "normal" codepaths, thus reducing the risks of regressions for non-core users. While the extrausers case is not as correct as it would have been with a full fix, it's consistent with the behaviour in 22.04 an

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

2024-05-22 Thread Simon Chopin
** Also affects: shadow (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: shadow (Ubuntu Oracular) Importance: Undecided Assignee: Simon Chopin (schopin) Status: New ** Also affects: shadow (Ubuntu Jammy) Importance: Undecided Status: New ** Als

[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 user

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063200 Title: useradd --extrausers --groups tries to lock /etc/group To manage notifications about this bug go to: htt

[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: c

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063200 Title: useradd --extrausers --groups tries to lock /etc/gro