Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57725 - Make packages that rely on .install to set the user's shell, use sysusers.d instead (e.g. git)

Attached to Project: Arch Linux
Opened by Omar Pakker (Omar007) - Monday, 05 March 2018, 23:54 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 06 March 2018, 14:32 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Maybe this report is a bit presumptuous and this is already on the radar (didn't see it mentioned here or in arch-dev-public yet though) but I'm making it anyway just in case..

Description:
systemd 238 supports setting the login shell of users created via sysusers.d.
Make packages, such as git, that now rely on .install to set the user's shell, use sysusers.d instead.

Additional info:
* Requires systemd 238
* The git package fits this category
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 06 March 2018, 14:32 GMT
Reason for closing:  Implemented
Comment by Eli Schwartz (eschwartz) - Tuesday, 06 March 2018, 00:06 GMT
Well, I did mention it in the secret IRC channel for Trusted Users/Developers only. :D Will have to take a look and see what packages other than git/gitlab-shell do this.
Comment by loqs (loqs) - Tuesday, 06 March 2018, 00:38 GMT
https://bugs.archlinux.org/task/57693#comment167113
At least postgresql does and filesystem reverted the root user from sysusers.d to being preinstalled in the files because of this.
Comment by Eli Schwartz (eschwartz) - Tuesday, 06 March 2018, 00:52 GMT
As does pgbouncer. Grepping through the svntogit install files for all packages doesn't turn up any others.

Comment by Eli Schwartz (eschwartz) - Tuesday, 06 March 2018, 14:31 GMT
I've marked the affected packages as incomplete on the todo here: https://www.archlinux.org/todo/switch-to-systemd-sysusers/
Previously they were marked as complete due to being impossible to just use sysusers.

Now that we are tracking this in the todo, this bug is no longer necessary so I am going to close it.

(git is not on the todo list somehow, but it is also rebuilt with systemd in [testing], so no problems there.)

Loading...