Rebuild Todo List Switch to systemd-sysusers
We are fully embracing the use of systemd-sysusers to create system users and groups required by packages. The filesystem package has been switched to this, now is the turn of every other package having not yet switched.
You mostly need to provide an accurate sysusers.d file (see https://www.freedesktop.org/software/systemd/man/sysusers.d.html) and have you package install it under /usr/lib/sysusers.d/<pkgname>.conf.
You can also (thanks @heftig) do a one liner (in most cases) from the install() function like this (replacing <sysusers.d content> with the actual content):
echo '<sysusers.d content>' |
install -Dm644 /dev/stdin "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
You can see several examples in the unbound, couchdb or stubby packages. Once done, you might even be able to remove the .install file (we have hook to run systemd-sysusers).
Don’t hesitate to ask me if you’re unsure. ;) Some cases might be tricky.
Generated on orion.archlinux.org with:
grep --files-with-matches useradd /srv/svntogit/repos/*/*/trunk/*
grep --files-with-matches groupadd /srv/svntogit/repos/*/*/trunk/*
There might be false detections, just mark as done then.
P.S.: I initially started by opening issues for some packages while providing the correct sysusers file, so if your package is concerned just look at your assigned issues.
Filter Todo List Packages
Arch | Repository | Name | Current Version | Staging Version | Maintainers | Status | Last Touched By |
---|---|---|---|---|---|---|---|
x86_64 | Extra | avahi | 1:0.8+r194+g3f79789-2 | 1:0.8+r194+g3f79789-3 | heftig | Complete | heftig |
x86_64 | Extra | bitlbee | Complete | polyzen | |||
x86_64 | Extra | brltty | 6.7-1 | 6.7-2 | dvzrv | Complete | arojas |
x86_64 | Extra | clamav | 1.4.1-1 | anthraxx, grazzolini | Complete | anthraxx | |
x86_64 | Extra | colord | 1.4.7-2 | heftig | Complete | heftig | |
any | Extra | deluge | 1:2.1.1-6 | 1:2.1.1-7 | heftig | Complete | heftig |
x86_64 | Extra | hylafax | Complete | arojas | |||
x86_64 | Extra | kismet | 2023_07_R1-14 | 2023_07_R1-15 | juergen, anthraxx | Complete | anthraxx |
x86_64 | Extra | lightdm | 1:1.32.0-6 | alucryd | Complete | alucryd | |
x86_64 | Extra | memcached | 1.6.21-2 | anthraxx | Complete | anthraxx | |
x86_64 | Extra | mpd | 0.23.15-9 | anthraxx, dvzrv | Complete | bisson | |
any | Extra | munin | sangy | Complete | arojas | ||
x86_64 | Extra | ntp | 4.2.8.p18-2 | Complete | lfleischer | ||
x86_64 | Extra | nvidia-340xx-utils | Complete | svenstaro | |||
x86_64 | Extra | nvidia-utils | 565.57.01-2 | svenstaro, felixonmars, dbermond, daurnimator, ptr1337 | Complete | svenstaro | |
x86_64 | Extra | pgbouncer | 1.22.1-1 | anthraxx | Complete | anthraxx | |
x86_64 | Extra | polkit | 125-1 | heftig | Complete | heftig | |
x86_64 | Extra | postfix | 3.9.0-4 | dvzrv | Complete | bisson | |
x86_64 | Extra | postgresql | 16.3-4 | anthraxx | Complete | anthraxx | |
x86_64 | Core | rpcbind | 1.2.7-1 | andyrtr | Complete | andyrtr | |
x86_64 | Core | shadow | 4.16.0-1 | grazzolini, dvzrv | Complete | eschwartz | |
x86_64 | Extra | spamassassin | 4.0.1-2 | alerque | Complete | bluewind | |
x86_64 | Extra | usbmuxd | 1.1.1-4 | freswa | Complete | arojas | |
x86_64 | Extra | x2goserver | Complete | andyrtr |