[arch-dev-public] user/group management in packages
Evangelos Foutras
evangelos at foutrelis.com
Tue Feb 3 16:16:10 UTC 2015
On 03/02/15 17:58, Andrew Gregory wrote:
> -1 for systemd-sysusers unless you can figure out a way to use it in
> pre_install. In order for the dynamic user creation Allan mentioned
> to work, pacman will have to be changed to use symbolic user names for
> file ownership which requires the user to exist *before* the package
> is extracted.
Yeah, it doesn't seem like systemd-sysusers can be used for that, since
the user and group information is stored in a sysusers.d file.
But for packages that use static (reserved) user/group IDs, it should
work a treat. :)
More information about the arch-dev-public
mailing list