AOSC-Dev / aosc-os-abbs

ABBS/ACBS tree for AOSC OS package metadata, build configuration, scripts, and patches
https://packages.aosc.io
GNU General Public License v2.0
104 stars 84 forks source link

tree: port all user/group creation scripts to systemd-tmpfiles and systemd-sysusers #538

Open MingcongBai opened 7 years ago

MingcongBai commented 7 years ago

Given that there is virtually no environment constraints where systemd-tmpfiles and systemd-sysusers could be run (although tmpfiles fails in chroot environments, should be a bug, will report), I propose to port:

To systemd configuration files for creating system users and directories.

See: https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html, and https://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html.

MingcongBai commented 7 years ago

Upstream issue: https://github.com/systemd/systemd/issues/4954.