[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[no subject]



Hi! 
I will try to create custom live debian with live-build,
but have a problem with package mysql-server ( ver. 5.7 ).

After lb build i have next error: 

Setting up mysql-community-server (5.7.31-1debian10) ...
 2020-11-24T12:54:22.844632Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more           details).
 2020-11-24T12:54:23.935370Z 0 [Warning] InnoDB: New log files created, LSN=45790
 2020-11-24T12:54:24.114312Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
 2020-11-24T12:54:24.208620Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 2d9954bb-2e54-11eb-b06f-0800279aef04.
 2020-11-24T12:54:24.210617Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
 2020-11-24T12:54:24.611481Z 0 [Warning] CA certificate ca.pem is self signed.
 2020-11-24T12:54:25.117330Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
 dpkg: error processing package mysql-community-server (--configure):
  installed mysql-community-server package post-installation script subprocess returned error exit status

If I understand, this problem appears because I don't enter root password. 

I tried to create a preseed file in config/preseed/mysql-server.cfg.chroot with: 

mysql-server mysql-server/root_password password mypass
mysql-server mysql-server/root_password_again password mypass

But it doesn't help me.

Could anyone help me with this situation? 
May be my preseed file incorrect, but i didnt find any example of preseed for live-build.

Reply to: