[debian-mysql] Bug#900398: Bug#900398: mariadb-server-10.1: postinst fails since official rebuild

Paul Gevers elbrus at debian.org
Thu May 31 13:26:13 BST 2018


Hi Faustin,

On 31-05-18 00:18, Faustin Lammler wrote:
> Could you provide me the content of syslog and mysql log when dpkg fails?

Attached

> I see that Apparmor is enabled, could you also send me the result of:
> $ sudo aa-status

Attached.

> Is there any apparmor mysqld profile (/etc/apparmor.d/usr.sbin.mysqld)?

paul at testavoira ~ $ ls -al /etc/apparmor.d/usr.sbin.mysqld
-rw-r--r-- 1 root root 730 sep  7  2016 /etc/apparmor.d/usr.sbin.mysqld

It only contains comments.

Please let me know if you need more information.

Paul
-------------- next part --------------
May 31 13:00:55 testavoira mysqld_safe[29979]: 2018-05-31 13:00:55 140089837771904 [Note] /usr/sbin/mysqld (mysqld 10.1.29-MariaDB-6+b1) starting as process 30007 ...
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]: Installation of system tables failed!  Examine the logs in
May 31 13:00:59 testavoira mysqld_safe[29979]: /var/lib/mysql for more information.
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]: The problem could be conflicting information in an external
May 31 13:00:59 testavoira mysqld_safe[29979]: my.cnf files. You can ignore these by doing:
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]:     shell> /usr/bin/mysql_install_db --defaults-file=~/.my.cnf
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]: You can also try to start the mysqld daemon with:
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]:     shell> /usr/sbin/mysqld --skip-grant --general-log &
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]: and use the command line tool /usr/bin/mysql
May 31 13:00:59 testavoira mysqld_safe[29979]: to connect to the mysql database and look at the grant tables:
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]:     shell> /usr/bin/mysql -u root mysql
May 31 13:00:59 testavoira mysqld_safe[29979]:     mysql> show tables;
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]: Try 'mysqld --help' if you have problems with paths.  Using
May 31 13:00:59 testavoira mysqld_safe[29979]: --general-log gives you a log in /var/lib/mysql that may be helpful.
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]: The latest information about mysql_install_db is available at
May 31 13:00:59 testavoira mysqld_safe[29979]: https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
May 31 13:00:59 testavoira mysqld_safe[29979]: MariaDB is hosted on launchpad; You can find the latest source and
May 31 13:00:59 testavoira mysqld_safe[29979]: email lists at http://launchpad.net/maria
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[29979]: Please check all of the above before submitting a bug report
May 31 13:00:59 testavoira mysqld_safe[29979]: at http://mariadb.org/jira
May 31 13:00:59 testavoira mysqld_safe[29979]: 
May 31 13:00:59 testavoira mysqld_safe[30039]: 2018-05-31 13:00:59 140582969576576 [Note] /usr/sbin/mysqld (mysqld 10.1.29-MariaDB-6+b1) starting as process 30038 ...
-------------- next part --------------
apparmor module is loaded.
25 profiles are loaded.
22 profiles are in enforce mode.
   /usr/bin/lxc-start
   /usr/bin/man
   /usr/sbin/libvirtd
   /usr/sbin/libvirtd//qemu_bridge_helper
   /usr/sbin/mysqld-akonadi
   /usr/sbin/mysqld-akonadi///usr/sbin/mysqld
   /usr/sbin/unbound
   icedove
   icedove//gpg
   icedove//gpg2
   icedove//sanitized_helper
   libreoffice-senddoc
   libreoffice-soffice//gpg
   libreoffice-xpdfimport
   lxc-container-default
   lxc-container-default-cgns
   lxc-container-default-with-mounting
   lxc-container-default-with-nesting
   man_filter
   man_groff
   system_tor
   virt-aa-helper
3 profiles are in complain mode.
   /usr/sbin/chronyd
   libreoffice-oopslash
   libreoffice-soffice
4 processes have profiles defined.
3 processes are in enforce mode.
   /usr/sbin/libvirtd (926) 
   /usr/sbin/mysqld-akonadi///usr/sbin/mysqld (2207) 
   /usr/sbin/unbound (1092) 
1 processes are in complain mode.
   /usr/sbin/chronyd (845) 
0 processes are unconfined but have a profile defined.
-------------- next part --------------
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2018-05-31 13:00:55 140089837771904 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: The InnoDB memory heap is disabled
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: Compressed tables use zlib 1.2.11
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: Using Linux native AIO
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: Using SSE crc32 instructions
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: Completed initialization of buffer pool
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: Highest supported file format is Barracuda.
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: 128 rollback segment(s) are active.
2018-05-31 13:00:55 140089837771904 [Note] InnoDB: Waiting for purge to start
2018-05-31 13:00:56 140089837771904 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.36-82.2 started; log sequence number 252518333
2018-05-31 13:00:56 140089170585344 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-05-31 13:00:56 140089837771904 [Note] Recovering after a crash using tc.log
2018-05-31 13:00:56 140089837771904 [ERROR] Can't init tc log
2018-05-31 13:00:56 140089837771904 [ERROR] Aborting

2018-05-31 13:00:59 140582969576576 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2018-05-31 13:00:59 140582969576576 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: The InnoDB memory heap is disabled
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: Compressed tables use zlib 1.2.11
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: Using Linux native AIO
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: Using SSE crc32 instructions
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: Completed initialization of buffer pool
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: Highest supported file format is Barracuda.
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: 128 rollback segment(s) are active.
2018-05-31 13:00:59 140582969576576 [Note] InnoDB: Waiting for purge to start
2018-05-31 13:00:59 140582969576576 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.36-82.2 started; log sequence number 252518343
2018-05-31 13:00:59 140582299105024 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-05-31 13:00:59 140582969576576 [Note] Plugin 'FEEDBACK' is disabled.
2018-05-31 13:00:59 140582969576576 [Note] Recovering after a crash using tc.log
2018-05-31 13:00:59 140582969576576 [ERROR] Can't init tc log
2018-05-31 13:00:59 140582969576576 [ERROR] Aborting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20180531/72ccc718/attachment.sig>


More information about the pkg-mysql-maint mailing list