Bug #95169 Debian mysql-community-server package contains debug binaries
Submitted: 27 Apr 2019 23:03 Modified: 3 Jul 2019 15:24
Reporter: Piotr Jurkiewicz (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:8.0.16 OS:Debian
Assigned to: Lars Tangvald CPU Architecture:Any

[27 Apr 2019 23:03] Piotr Jurkiewicz
Description:
Debian package mysql-community-server, beside configuration files and service scripts, contains debug-enabled versions of the same binaries which are included in mysql-community-server-core package:

./
./etc/
./etc/mysql/
./etc/mysql/mysql.cnf
./etc/mysql/mysql.conf.d/
./etc/mysql/mysql.conf.d/mysqld.cnf
./lib/
./lib/systemd/
./lib/systemd/system/
./lib/systemd/system/mysql.service
./lib/systemd/system/mysql@.service
./usr/
./usr/lib/
./usr/lib/mysql/
./usr/lib/mysql/plugin/
./usr/lib/mysql/plugin/debug/
./usr/lib/mysql/plugin/debug/adt_null.so
./usr/lib/mysql/plugin/debug/auth_socket.so
./usr/lib/mysql/plugin/debug/authentication_ldap_sasl_client.so
./usr/lib/mysql/plugin/debug/component_audit_api_message_emit.so
./usr/lib/mysql/plugin/debug/component_log_filter_dragnet.so
./usr/lib/mysql/plugin/debug/component_log_sink_json.so
./usr/lib/mysql/plugin/debug/component_log_sink_syseventlog.so
./usr/lib/mysql/plugin/debug/component_validate_password.so
./usr/lib/mysql/plugin/debug/connection_control.so
./usr/lib/mysql/plugin/debug/ddl_rewriter.so
./usr/lib/mysql/plugin/debug/group_replication.so
./usr/lib/mysql/plugin/debug/innodb_engine.so
./usr/lib/mysql/plugin/debug/keyring_file.so
./usr/lib/mysql/plugin/debug/keyring_udf.so
./usr/lib/mysql/plugin/debug/libmemcached.so
./usr/lib/mysql/plugin/debug/libpluginmecab.so
./usr/lib/mysql/plugin/debug/locking_service.so
./usr/lib/mysql/plugin/debug/mypluglib.so
./usr/lib/mysql/plugin/debug/mysql_no_login.so
./usr/lib/mysql/plugin/debug/rewriter.so
./usr/lib/mysql/plugin/debug/semisync_master.so
./usr/lib/mysql/plugin/debug/semisync_slave.so
./usr/lib/mysql/plugin/debug/validate_password.so
./usr/lib/mysql/plugin/debug/version_token.so
./usr/sbin/
./usr/sbin/mysqld-debug
./usr/share/
./usr/share/doc/
./usr/share/doc/mysql-community-server/
./usr/share/doc/mysql-community-server/LICENSE.gz
./usr/share/doc/mysql-community-server/README
./usr/share/doc/mysql-community-server/changelog.Debian.gz
./usr/share/doc/mysql-community-server/copyright
./usr/share/lintian/
./usr/share/lintian/overrides/
./usr/share/lintian/overrides/mysql-community-server
./usr/share/mysql-8.0/
./usr/share/mysql-8.0/innodb_memcached_config.sql
./usr/share/mysql-8.0/install_rewriter.sql
./usr/share/mysql-8.0/mysql-helpers
./usr/share/mysql-8.0/mysql-systemd-start
./usr/share/mysql-8.0/mysqld_multi.server
./usr/share/mysql-8.0/uninstall_rewriter.sql

How to repeat:
dpkg -c mysql-community-server_8.0.16-1debian9_amd64.deb

Suggested fix:
mysql-community-server should not contain debug binaries, but only service, script and configuration files.
[28 Apr 2019 6:20] Terje Røsten
Hi!

Thanks for your report!

mysql-community-server was split into -server and -server-core, with debug bins
still in -server, that's was a mistake.

Debug bins should to go it's own package -server-core-debug.
[3 Jul 2019 15:24] Paul DuBois
Posted by developer:
 
Fixed in 8.0.17.

To reduce the download size and disk footprint of mysql-community-server
Linux packages, debug binaries and plugins have been moved to separate
packages for these platforms:

* EL8, Fedora: The mysql-community-server package with debug binaries and
  associated plugins is now split into a mysql-community-server package
  without debug binaries or plugins and a mysql-community-server-debug
  package with debug binaries and plugins.

* Debian: The mysql-community-server package with debug binaries and
  associated plugins is now split into a mysql-community-server package
  without debug binaries or plugins, a mysql-community-server-debug
  package with debug binaries, and a mysql-community-test-debug package
  with debug plugins.

In all cases, the debug packages are dependent on the corresponding
mysql-community-server package.