FS#56316 - [shadow] Change "GROUP=100" to "GROUP=users" in /etc/default/useradd

Attached to Project: Arch Linux
Opened by Pascal Ernster (hardfalcon) - Monday, 13 November 2017, 17:10 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 11 December 2017, 23:09 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Dave Reisner (falconindy)
Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

/etc/default/useradd contains the line "GROUP=100" by default, which makes useradd throw warnings at every invocation on new Archlinux installations due to the "users" group no longer having the static gid 100. Changing the line to "GROUP=users" fixes the issue.

Affected versions: shadow >= 4.5-2
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Monday, 11 December 2017, 23:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.5-3
Comment by loqs (loqs) - Monday, 13 November 2017, 17:49 GMT
filesystem 2017.03-2 in core still has users with a static gid of 100 so this should only affect testing with filesystem 2017.10-2?
Comment by Pascal Ernster (hardfalcon) - Monday, 13 November 2017, 17:52 GMT
That is correct, I'm using the testing repos.
Comment by David Runge (dvzrv) - Sunday, 10 December 2017, 23:26 GMT
@falconindy: This needs updating, as new installs are "broken" due to this.
Since filesystem does not provide dedicated gids for certain groups, group 100 is not set, when installing a new system.
Therefore the use of useradd is only possible after modifying /etc/default/useradd.
Comment by Sébastien Luttringer (seblu) - Monday, 11 December 2017, 03:30 GMT
I'll push a version with the fix proposed into testing. Let me know if someone think we should do otherwise.
Comment by David Runge (dvzrv) - Monday, 11 December 2017, 18:39 GMT
@seblu: I tested the setting on a newly installed system last night and it works fine.
Pushing it to the main repositories any time soon is probably good, as users will otherwise have a hard time figuring out how to add a user during install atm :D
Comment by Sébastien Luttringer (seblu) - Monday, 11 December 2017, 22:58 GMT
We got signoffs required by a core package so we can move it.

Loading...