[debian-mysql] Bug#1034684: mariadb-server: superfluous warnings in preinst
    Mathias Gibbens 
    gibmat at debian.org
       
    Fri Apr 21 23:07:57 BST 2023
    
    
  
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20230421/36199f78/attachment.sig>
    
    
More information about the pkg-mysql-maint
mailing list