Re: Packaging guidelines - dynamic allocation of users and groups

2023-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 29, 2023 at 07:38:25PM -0500, Neal Gompa wrote: > On Wed, Nov 29, 2023 at 7:26 PM Michal Schorm wrote: > > > > On Thu, Nov 30, 2023 at 12:54 AM Zbigniew Jędrzejewski-Szmek > > wrote: > > > Yeah, there are no guidelines for this case because it didn't really > > > come up before. I thi

Re: Packaging guidelines - dynamic allocation of users and groups

2023-11-29 Thread Neal Gompa
On Wed, Nov 29, 2023 at 7:26 PM Michal Schorm wrote: > > On Thu, Nov 30, 2023 at 12:54 AM Zbigniew Jędrzejewski-Szmek > wrote: > > Yeah, there are no guidelines for this case because it didn't really > > come up before. I think this case can be used to figure out the best > > way to do this and t

Re: Packaging guidelines - dynamic allocation of users and groups

2023-11-29 Thread Michal Schorm
On Thu, Nov 30, 2023 at 12:54 AM Zbigniew Jędrzejewski-Szmek wrote: > Yeah, there are no guidelines for this case because it didn't really > come up before. I think this case can be used to figure out the best > way to do this and then the guidelines can be informed by the solution. Okay. I don't

Re: Packaging guidelines - dynamic allocation of users and groups

2023-11-29 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 29, 2023 at 08:04:11PM +0100, Michal Schorm wrote: > I maintain the packages 'mariadb' and 'community-mysql'. > Sub-packages of each of them need the user 'mysql' to be present prior > installation. > Both manually create the user in the %pre section. > > I found out a different system

Packaging guidelines - dynamic allocation of users and groups

2023-11-29 Thread Michal Schorm
I maintain the packages 'mariadb' and 'community-mysql'. Sub-packages of each of them need the user 'mysql' to be present prior installation. Both manually create the user in the %pre section. I found out a different system should be used nowadays: https://docs.fedoraproject.org/en-US/packaging-gu