The system_accounts variable in xbps templates does let you do this, but
nobody ever seems to use it. Really, we should. As things stand now,
uids and gids for system users are a bit random. This is both fragile
and possibly insecure, especially in the event of package uninstalls
or reinstalls.
https://wiki.debian.org/AccountHandlingInMaintainerScripts#Account_deletion
My vote goes to not automatically deleting users and maybe changing the shell and some comment to indicated that they were removed.
Preallocated ids would be nice, but that would be hard to switch to.
Agreed with Duncaen. If we would just not remove accounts, so the old system account just sticks around, that would be satisfactory to me.
Agreed, not removing accounts seems like the way to go.
Most helpful comment
https://wiki.debian.org/AccountHandlingInMaintainerScripts#Account_deletion
My vote goes to not automatically deleting users and maybe changing the shell and some comment to indicated that they were removed.
Preallocated ids would be nice, but that would be hard to switch to.