FS#56834 - [lightdm] 1:1.24.0-3 do not use seperate sysusers.s group and user command

Attached to Project: Arch Linux
Opened by loqs (loqs) - Saturday, 23 December 2017, 11:08 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 17 May 2019, 15:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
As discussed https://bugs.archlinux.org/task/56815#comment164686
The group id chosen is not randon as per the following see steps to reproduce.

Steps to reproduce:
$ sudo userdel lightdm
$ getent group lightdm
$ getent passwd lightdm
$ cat /usr/lib/sysusers.d/lightdm.conf
u lightdm 620 "Light Display Manager" /var/lib/lightdm
$ sudo systemd-sysusers /usr/lib/sysusers.d/lightdm.conf
Creating group lightdm with gid 620.
Creating user lightdm (Light Display Manager) with uid 620 and gid 620.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Friday, 17 May 2019, 15:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  1:1.30.0-2
Comment by loqs (loqs) - Sunday, 24 December 2017, 21:39 GMT
Additionally as per https://bugs.archlinux.org/task/56662#comment164251 as lightdm no longer ships any files in the package that are owned uid 620 or gid 620
lightdm could be have its uid/gid removed let it become assigned by sysusers.d the directories are now handled by tmpfiles.d
testing locally after cleaning out existing user/group and directories handled by tmpfiles.d
$ id lightdm
uid=991(lightdm) gid=991(lightdm) groups=991(lightdm)
lightdm starts without issue for existing systems it would retain 620 and there would be no change on them.

Loading...