On Wed, Nov 29, 2023 at 7:26 PM Michal Schorm mschorm@redhat.com wrote:
On Thu, Nov 30, 2023 at 12:54 AM Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl 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 mind being a pioneer. I asked to avoid reinventing the wheel.
I think this is actually going to be pretty simple: just have a package "system-user-mysql" that just installs the file and be done with it.
You can then have the database packages "Requires(pre): (user(mysql) and group(mysql))" and things should just work.
-- 真実はいつも一つ!/ Always, there's only one truth!