On Fri, 2023-04-21 at 10:58 -0700, Otto Kekäläinen wrote:
> Thanks for reporting!
> 
> This seems like a real bug if 'id' says user does not exist.

  On a fresh install, indeed, there won't be a "mysql" user (yet) when
preinst is run. The check could be changed to something like
`if id mysql >/dev/null 2>&1` to gobble up any output that's produced.
I don't know if `adduser` needs the `--home` argument specified, as the
argument right before is `--no-create-home`.

> 
> What are the steps to reproduce this?

  I was in a fresh, minimal install of sid. Then I just ran an `apt
install mariadb-server`.

Mathias

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to