]> git.hoellein.online Git - vserver/commitdiff
committing changes in /etc made by "apt-get remove --purge mariadb-server-core-10...
authormhoellein <mario@hoellein.online>
Wed, 8 Jul 2020 19:55:48 +0000 (21:55 +0200)
committermhoellein <mario@hoellein.online>
Wed, 8 Jul 2020 19:55:48 +0000 (21:55 +0200)
Package changes:
-mariadb-client-10.3 1:10.3.22-1ubuntu1 amd64
-mariadb-common 1:10.3.22-1ubuntu1 all
-mariadb-server-10.3 1:10.3.22-1ubuntu1 amd64

21 files changed:
.etckeeper
apparmor.d/usr.sbin.mysqld [deleted file]
default/mysql [deleted file]
init.d/mysql [deleted file]
insserv.conf.d/mariadb [deleted file]
logcheck/ignore.d.paranoid/mariadb-server-10_3 [deleted file]
logcheck/ignore.d.server/mariadb-server-10_3 [deleted file]
logcheck/ignore.d.workstation/mariadb-server-10_3 [deleted file]
logrotate.d/mysql-server [deleted file]
mysql/debian-start [deleted file]
mysql/mariadb.cnf [deleted file]
rc0.d/K01mysql [deleted symlink]
rc1.d/K01mysql [deleted symlink]
rc2.d/S01mysql [deleted symlink]
rc3.d/S01mysql [deleted symlink]
rc4.d/S01mysql [deleted symlink]
rc5.d/S01mysql [deleted symlink]
rc6.d/K01mysql [deleted symlink]
systemd/system/multi-user.target.wants/mariadb.service [deleted symlink]
systemd/system/mysql.service [deleted symlink]
systemd/system/mysqld.service [deleted symlink]

index a2de4da4429d7579f29cabbe7f7bf69dc2f359cb..82de554326e684a0e832c03ac0031e94c8b949f7 100755 (executable)
@@ -42,7 +42,6 @@ mkdir -p './letsencrypt/renewal-hooks/pre'
 mkdir -p './libpaper.d'
 mkdir -p './logcheck/violations.ignore.d'
 mkdir -p './monit/conf-available'
-mkdir -p './mysql/mariadb.conf.d'
 mkdir -p './networkd-dispatcher/carrier.d'
 mkdir -p './networkd-dispatcher/degraded.d'
 mkdir -p './networkd-dispatcher/dormant.d'
@@ -653,7 +652,6 @@ maybe chmod 0644 'apparmor.d/tunables/xdg-user-dirs.d/site.local'
 maybe chmod 0644 'apparmor.d/usr.bin.man'
 maybe chmod 0644 'apparmor.d/usr.lib.ipsec.charon'
 maybe chmod 0644 'apparmor.d/usr.lib.ipsec.stroke'
-maybe chmod 0644 'apparmor.d/usr.sbin.mysqld'
 maybe chmod 0644 'apparmor.d/usr.sbin.named'
 maybe chmod 0644 'apparmor.d/usr.sbin.rsyslogd'
 maybe chmod 0644 'apparmor.d/usr.sbin.tcpdump'
@@ -870,7 +868,6 @@ maybe chmod 0644 'default/keyboard'
 maybe chmod 0644 'default/knockd'
 maybe chmod 0644 'default/locale'
 maybe chmod 0644 'default/motd-news'
-maybe chmod 0644 'default/mysql'
 maybe chmod 0644 'default/named'
 maybe chmod 0644 'default/networkd-dispatcher'
 maybe chmod 0644 'default/nss'
@@ -1319,7 +1316,6 @@ maybe chmod 0755 'init.d/kmod'
 maybe chmod 0755 'init.d/knockd'
 maybe chmod 0755 'init.d/lvm2'
 maybe chmod 0755 'init.d/lvm2-lvmpolld'
-maybe chmod 0755 'init.d/mysql'
 maybe chmod 0755 'init.d/named'
 maybe chmod 0755 'init.d/opendkim'
 maybe chmod 0755 'init.d/opendmarc'
@@ -1359,7 +1355,6 @@ maybe chmod 0644 'initramfs-tools/update-initramfs.conf'
 maybe chmod 0644 'inputrc'
 maybe chmod 0755 'insserv.conf.d'
 maybe chmod 0644 'insserv.conf.d/bind9'
-maybe chmod 0644 'insserv.conf.d/mariadb'
 maybe chmod 0644 'insserv.conf.d/postfix'
 maybe chmod 0755 'iproute2'
 maybe chmod 0644 'iproute2/bpf_pinning'
@@ -5759,20 +5754,17 @@ maybe chmod 0644 'locale.alias'
 maybe chmod 0644 'locale.gen'
 maybe chmod 0755 'logcheck'
 maybe chmod 0755 'logcheck/ignore.d.paranoid'
-maybe chmod 0644 'logcheck/ignore.d.paranoid/mariadb-server-10_3'
 maybe chmod 0644 'logcheck/ignore.d.paranoid/mysql-server-5_7'
 maybe chmod 0644 'logcheck/ignore.d.paranoid/mysql-server-8_0'
 maybe chmod 0755 'logcheck/ignore.d.server'
 maybe chmod 0644 'logcheck/ignore.d.server/gpg-agent'
 maybe chmod 0644 'logcheck/ignore.d.server/libsasl2-modules'
-maybe chmod 0644 'logcheck/ignore.d.server/mariadb-server-10_3'
 maybe chmod 0644 'logcheck/ignore.d.server/mysql-server-5_7'
 maybe chmod 0644 'logcheck/ignore.d.server/mysql-server-8_0'
 maybe chmod 0644 'logcheck/ignore.d.server/postfix-policyd-spf-python'
 maybe chmod 0644 'logcheck/ignore.d.server/razor'
 maybe chmod 0644 'logcheck/ignore.d.server/rsyslog'
 maybe chmod 0755 'logcheck/ignore.d.workstation'
-maybe chmod 0644 'logcheck/ignore.d.workstation/mariadb-server-10_3'
 maybe chmod 0644 'logcheck/ignore.d.workstation/mysql-server-5_7'
 maybe chmod 0644 'logcheck/ignore.d.workstation/mysql-server-8_0'
 maybe chmod 0755 'logcheck/violations.ignore.d'
@@ -5790,7 +5782,6 @@ maybe chmod 0644 'logrotate.d/dbconfig-common'
 maybe chmod 0644 'logrotate.d/dpkg'
 maybe chmod 0644 'logrotate.d/fail2ban'
 maybe chmod 0644 'logrotate.d/icinga2'
-maybe chmod 0644 'logrotate.d/mysql-server'
 maybe chmod 0644 'logrotate.d/razor'
 maybe chmod 0644 'logrotate.d/redis-server'
 maybe chmod 0644 'logrotate.d/rsnapshot'
@@ -5856,10 +5847,7 @@ maybe chmod 0755 'mysql'
 maybe chmod 0755 'mysql/conf.d'
 maybe chmod 0644 'mysql/conf.d/mysql.cnf'
 maybe chmod 0644 'mysql/conf.d/mysqldump.cnf'
-maybe chmod 0755 'mysql/debian-start'
 maybe chmod 0600 'mysql/debian.cnf'
-maybe chmod 0644 'mysql/mariadb.cnf'
-maybe chmod 0755 'mysql/mariadb.conf.d'
 maybe chmod 0644 'mysql/my.cnf.fallback'
 maybe chmod 0644 'mysql/mysql.cnf'
 maybe chmod 0755 'mysql/mysql.conf.d'
diff --git a/apparmor.d/usr.sbin.mysqld b/apparmor.d/usr.sbin.mysqld
deleted file mode 100644 (file)
index 4ffb7ea..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is intensionally empty to disable apparmor by default for newer
-# versions of MariaDB, while providing seamless upgrade from older versions
-# and from mysql, where apparmor is used.
-#
-# By default, we do not want to have any apparmor profile for the MariaDB
-# server. It does not provide much useful functionality/security, and causes
-# several problems for users who often are not even aware that apparmor
-# exists and runs on their system.
-#
-# Users can modify and maintain their own profile, and in this case it will
-# be used.
-#
-# When upgrading from previous version, users who modified the profile
-# will be promptet to keep or discard it, while for default installs
-# we will automatically disable the profile.
diff --git a/default/mysql b/default/mysql
deleted file mode 100644 (file)
index 3d3bc80..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# NOTE: This file is read only by the traditional SysV init script and has been
-# available only in Ubuntu 16.04 and 16.10 and never in a official Debian release.
-# Debian 9 and Ubuntu 17.04 onwards do not normally read this file as they use
-# systemd by default.
-#
-# For similar behaviour, systemd users should override ExecStart by dropping
-# files into /etc/systemd/system/mariadb.service.d/
-#
-# See also:
-# https://wiki.debian.org/Teams/pkg-systemd/Packaging#overriding_options_and_.2Fetc.2Fdefault_handling
-# https://mariadb.com/kb/en/mariadb/systemd/
-#
-# Note also that MariaDB systemd does _not_ utilize mysqld_safe nor debian-start.
-
-
-# The delay in seconds the init script waits for the server to be up and running after having started "mysqld_safe" to run the "/etc/mysql/debian-start" script.
-# If the server is still not responding after the delay, the script won't be executed and an error will be thrown on the syslog.
-# Default: 30
-#MYSQLD_STARTUP_TIMEOUT=30
-
-# The email recipient(s) of the output of the check for crashed and improperly closed MyISAM and Aria tables done at each server start by the "/etc/mysql/debian-start" script.
-# Default: root
-#MYCHECK_RCPT="root"
diff --git a/init.d/mysql b/init.d/mysql
deleted file mode 100755 (executable)
index 0694ed7..0000000
+++ /dev/null
@@ -1,207 +0,0 @@
-#!/bin/bash
-#
-### BEGIN INIT INFO
-# Provides:          mysql
-# Required-Start:    $remote_fs $syslog
-# Required-Stop:     $remote_fs $syslog
-# Should-Start:      $network $named $time
-# Should-Stop:       $network $named $time
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: Start and stop the mysql database server daemon
-# Description:       Controls the main MariaDB database server daemon "mysqld"
-#                    and its wrapper script "mysqld_safe".
-### END INIT INFO
-#
-set -e
-set -u
-${DEBIAN_SCRIPT_DEBUG:+ set -v -x}
-
-test -x /usr/sbin/mysqld || exit 0
-
-. /lib/lsb/init-functions
-
-SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
-
-MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
-
-# priority can be overridden and "-s" adds output to stderr
-ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mysql -i"
-
-if [ -f /etc/default/mysql ]; then
-  . /etc/default/mysql
-fi
-
-# Also source default/mariadb in case the installation was upgraded from
-# packages originally installed from MariaDB.org repositories, which have
-# had support for reading /etc/default/mariadb since March 2016.
-if [ -f /etc/default/mariadb ]; then
-  . /etc/default/mariadb
-fi
-
-# Safeguard (relative paths, core dumps..)
-cd /
-umask 077
-
-# mysqladmin likes to read /root/.my.cnf. This is usually not what I want
-# as many admins e.g. only store a password without a username there and
-# so break my scripts.
-export HOME=/etc/mysql/
-
-## Fetch a particular option from mysql's invocation.
-#
-# Usage: void mysqld_get_param option
-mysqld_get_param() {
-  /usr/sbin/mysqld --print-defaults \
-    | tr " " "\n" \
-    | grep -- "--$1" \
-    | tail -n 1 \
-    | cut -d= -f2
-}
-
-## Do some sanity checks before even trying to start mysqld.
-sanity_checks() {
-  # check for config file
-  if [ ! -r /etc/mysql/my.cnf ]; then
-    log_warning_msg "$0: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz"
-    echo                "WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz" | $ERR_LOGGER
-  fi
-
-  # check for diskspace shortage
-  datadir=`mysqld_get_param datadir`
-  if LC_ALL=C BLOCKSIZE= df --portability $datadir/. | tail -n 1 | awk '{ exit ($4>4096) }'; then
-    log_failure_msg "$0: ERROR: The partition with $datadir is too full!"
-    echo                "ERROR: The partition with $datadir is too full!" | $ERR_LOGGER
-    exit 1
-  fi
-}
-
-## Checks if there is a server running and if so if it is accessible.
-#
-# check_alive insists on a pingable server
-# check_dead also fails if there is a lost mysqld in the process list
-#
-# Usage: boolean mysqld_status [check_alive|check_dead] [warn|nowarn]
-mysqld_status () {
-  ping_output=`$MYADMIN ping 2>&1`; ping_alive=$(( ! $? ))
-
-  ps_alive=0
-  pidfile=`mysqld_get_param pid-file`
-  if [ -f "$pidfile" ] && ps `cat $pidfile` >/dev/null 2>&1; then ps_alive=1; fi
-
-  if [ "$1" = "check_alive"  -a  $ping_alive = 1 ] ||
-     [ "$1" = "check_dead"   -a  $ping_alive = 0  -a  $ps_alive = 0 ]; then
-    return 0 # EXIT_SUCCESS
-  else
-    if [ "$2" = "warn" ]; then
-      echo -e "$ps_alive processes alive and '$MYADMIN ping' resulted in\n$ping_output\n" | $ERR_LOGGER -p daemon.debug
-    fi
-  return 1 # EXIT_FAILURE
-  fi
-}
-
-#
-# main()
-#
-
-case "${1:-''}" in
-
-  'start')
-  sanity_checks;
-  # Start daemon
-  log_daemon_msg "Starting MariaDB database server" "mysqld"
-  if mysqld_status check_alive nowarn; then
-   log_progress_msg "already running"
-   log_end_msg 0
-  else
-    # Could be removed during boot
-    test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld
-
-    # Start MariaDB!
-    /usr/bin/mysqld_safe "${@:2}" 2>&1 >/dev/null | $ERR_LOGGER &
-
-    for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do
-      sleep 1
-      if mysqld_status check_alive nowarn ; then break; fi
-      log_progress_msg "."
-    done
-    if mysqld_status check_alive warn; then
-      log_end_msg 0
-      # Now start mysqlcheck or whatever the admin wants.
-      output=$(/etc/mysql/debian-start)
-      if [ -n "$output" ]; then
-        log_action_msg "$output"
-      fi
-    else
-      log_end_msg 1
-      log_failure_msg "Please take a look at the syslog"
-    fi
-  fi
-  ;;
-
-  'stop')
-  # * As a passwordless mysqladmin (e.g. via ~/.my.cnf) must be possible
-  # at least for cron, we can rely on it here, too. (although we have
-  # to specify it explicit as e.g. sudo environments points to the normal
-  # users home and not /root)
-  log_daemon_msg "Stopping MariaDB database server" "mysqld"
-  if ! mysqld_status check_dead nowarn; then
-    set +e
-    shutdown_out=`$MYADMIN shutdown 2>&1`; r=$?
-    set -e
-    if [ "$r" -ne 0 ]; then
-      log_end_msg 1
-      [ "$VERBOSE" != "no" ] && log_failure_msg "Error: $shutdown_out"
-      log_daemon_msg "Killing MariaDB database server by signal" "mysqld"
-      killall -15 mysqld
-      server_down=
-      for i in `seq 1 600`; do
-        sleep 1
-        if mysqld_status check_dead nowarn; then server_down=1; break; fi
-      done
-      if test -z "$server_down"; then killall -9 mysqld; fi
-    fi
-  fi
-
-  if ! mysqld_status check_dead warn; then
-    log_end_msg 1
-    log_failure_msg "Please stop MariaDB manually and read /usr/share/doc/mariadb-server-10.3/README.Debian.gz!"
-    exit -1
-  else
-    log_end_msg 0
-  fi
-  ;;
-
-  'restart')
-  set +e; $SELF stop; set -e
-  shift
-  $SELF start "${@}"
-  ;;
-
-  'reload'|'force-reload')
-  log_daemon_msg "Reloading MariaDB database server" "mysqld"
-  $MYADMIN reload
-  log_end_msg 0
-  ;;
-
-  'status')
-  if mysqld_status check_alive nowarn; then
-    log_action_msg "$($MYADMIN version)"
-  else
-    log_action_msg "MariaDB is stopped."
-    exit 3
-  fi
-  ;;
-
-  'bootstrap')
-       # Bootstrap the cluster, start the first node
-       # that initiates the cluster
-       log_daemon_msg "Bootstrapping the cluster" "mysqld"
-       $SELF start "${@:2}" --wsrep-new-cluster
-       ;;
-
-  *)
-  echo "Usage: $SELF start|stop|restart|reload|force-reload|status|bootstrap"
-  exit 1
-  ;;
-esac
diff --git a/insserv.conf.d/mariadb b/insserv.conf.d/mariadb
deleted file mode 100644 (file)
index cb29a54..0000000
+++ /dev/null
@@ -1 +0,0 @@
-$database      mysql
diff --git a/logcheck/ignore.d.paranoid/mariadb-server-10_3 b/logcheck/ignore.d.paranoid/mariadb-server-10_3
deleted file mode 100644 (file)
index 00cc5c3..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/etc/init.d/mysql\[[0-9]+\]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists\!$
-/etc/init.d/mysql\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$
-/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$
-mysqld\[[0-9]+\]: $
-mysqld\[[0-9]+\]: Version: .* socket: '/var/run/mysqld/mysqld.sock'  port: 3306$
-mysqld\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$
-mysqld_safe\[[0-9]+\]: started$
-usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$
-usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$
diff --git a/logcheck/ignore.d.server/mariadb-server-10_3 b/logcheck/ignore.d.server/mariadb-server-10_3
deleted file mode 100644 (file)
index d6e7f90..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/etc/init.d/mysql\[[0-9]+\]: [0-9]+ processes alive and '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$
-/etc/init.d/mysql\[[0-9]+\]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists\!$
-/etc/init.d/mysql\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$
-/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$
-mysqld\[[0-9]+\]: ?$
-mysqld\[[0-9]+\]: .*InnoDB: Shutdown completed
-mysqld\[[0-9]+\]: .*InnoDB: Started;
-mysqld\[[0-9]+\]: .*InnoDB: Starting shutdown\.\.\.$
-mysqld\[[0-9]+\]: .*\[Note\] /usr/sbin/mysqld: Normal shutdown$
-mysqld\[[0-9]+\]: .*\[Note\] /usr/sbin/mysqld: ready for connections\.$
-mysqld\[[0-9]+\]: .*\[Note\] /usr/sbin/mysqld: Shutdown complete$
-mysqld\[[0-9]+\]: /usr/sbin/mysqld: ready for connections\.$
-mysqld\[[0-9]+\]: .*/usr/sbin/mysqld: Shutdown Complete$
-mysqld\[[0-9]+\]: Version: .* socket
-mysqld\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$
-mysqld_safe\[[0-9]+\]: ?$
-mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$
-mysqld_safe\[[0-9]+\]: ended$
-mysqld_safe\[[0-9]+\]: http://www.mysql.com$
-mysqld_safe\[[0-9]+\]: NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run$
-mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$
-mysqld_safe\[[0-9]+\]: Please report any problems at http://mariadb.org/jira$
-mysqld_safe\[[0-9]+\]: See the manual for more instructions.$
-mysqld_safe\[[0-9]+\]: started$
-mysqld_safe\[[0-9]+\]: Support MySQL by buying support/licenses at http://mariadb.org/jira$
-mysqld_safe\[[0-9]+\]: The latest information about MySQL is available on the web at$
-mysqld_safe\[[0-9]+\]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be$
-mysqld_safe\[[0-9]+\]: To do so, start the server, then issue the following commands:$
-mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root -h app109 password 'new-password'$
-mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root password 'new-password'$
-usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$
-usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$
diff --git a/logcheck/ignore.d.workstation/mariadb-server-10_3 b/logcheck/ignore.d.workstation/mariadb-server-10_3
deleted file mode 100644 (file)
index a0b4792..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/etc/init.d/mysql\[[0-9]+\]: [0-9]+ processes alive and '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$
-/etc/init.d/mysql\[[0-9]+\]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists\!$
-/etc/init.d/mysql\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$
-/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$
-mysqld\[[0-9]+\]: ?$
-mysqld\[[0-9]+\]: .*InnoDB: Shutdown completed
-mysqld\[[0-9]+\]: .*InnoDB: Started;
-mysqld\[[0-9]+\]: .*InnoDB: Starting shutdown\.\.\.$
-mysqld\[[0-9]+\]: .*\[Note\] /usr/sbin/mysqld: Normal shutdown$
-mysqld\[[0-9]+\]: .*\[Note\] /usr/sbin/mysqld: ready for connections\.$
-mysqld\[[0-9]+\]: .*\[Note\] /usr/sbin/mysqld: Shutdown complete$
-mysqld\[[0-9]+\]: /usr/sbin/mysqld: ready for connections\.$
-mysqld\[[0-9]+\]: .*/usr/sbin/mysqld: Shutdown Complete$
-mysqld\[[0-9]+\]: Version: .* socket
-mysqld\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$
-mysqld_safe\[[0-9]+\]: ?$
-mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$
-mysqld_safe\[[0-9]+\]: ended$
-mysqld_safe\[[0-9]+\]: http://www.mysql.com$
-mysqld_safe\[[0-9]+\]: NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run$
-mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$
-mysqld_safe\[[0-9]+\]: Please report any problems at http://mariadb.org/jira$
-mysqld_safe\[[0-9]+\]: See the manual for more instructions.$
-mysqld_safe\[[0-9]+\]: started$
-mysqld_safe\[[0-9]+\]: Support MySQL by buying support/licenses at https://order.mysql.com$
-mysqld_safe\[[0-9]+\]: The latest information about MySQL is available on the web at$
-mysqld_safe\[[0-9]+\]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be$
-mysqld_safe\[[0-9]+\]: To do so, start the server, then issue the following commands:$
-mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root -h app109 password 'new-password'$
-mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root password 'new-password'$
-usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$
-usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$
diff --git a/logrotate.d/mysql-server b/logrotate.d/mysql-server
deleted file mode 100644 (file)
index 34ef638..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-# - I put everything in one block and added sharedscripts, so that mysql gets
-#   flush-logs'd only once.
-#   Else the binary logs would automatically increase by n times every day.
-# - The error log is obsolete, messages go to syslog now.
-/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log {
-       daily
-       rotate 7
-       missingok
-       create 640 mysql adm
-       compress
-       sharedscripts
-       postrotate
-          test -x /usr/bin/mysqladmin || exit 0
-          if [ -f `my_print_defaults --mysqld | grep -m 1 -oP "pid-file=\K.+$"` ]; then
-            # If this fails, check debian.conf!
-            mysqladmin --defaults-file=/etc/mysql/debian.cnf --local flush-error-log \
-              flush-engine-log flush-general-log flush-slow-log
-          fi
-       endscript
-}
diff --git a/mysql/debian-start b/mysql/debian-start
deleted file mode 100755 (executable)
index 8be72ea..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-# Change to no-op as detailed in
-# https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1577712
-exit 0
diff --git a/mysql/mariadb.cnf b/mysql/mariadb.cnf
deleted file mode 100644 (file)
index ce726b1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# The MySQL database server configuration file.
-#
-# You can copy this to one of:
-# - "/etc/mysql/my.cnf" to set global options,
-# - "~/.my.cnf" to set user-specific options.
-# 
-# One can use all long options that the program supports.
-# Run program with --help to get a list of available options and with
-# --print-defaults to see which it would actually understand and use.
-#
-# For explanations see
-# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
-
-#
-# * IMPORTANT: Additional settings that can override those from this file!
-#   The files must end with '.cnf', otherwise they'll be ignored.
-#
-
-!includedir /etc/mysql/conf.d/
-!includedir /etc/mysql/mysql.conf.d/
diff --git a/rc0.d/K01mysql b/rc0.d/K01mysql
deleted file mode 120000 (symlink)
index 4fa2088..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/mysql
\ No newline at end of file
diff --git a/rc1.d/K01mysql b/rc1.d/K01mysql
deleted file mode 120000 (symlink)
index 4fa2088..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/mysql
\ No newline at end of file
diff --git a/rc2.d/S01mysql b/rc2.d/S01mysql
deleted file mode 120000 (symlink)
index 4fa2088..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/mysql
\ No newline at end of file
diff --git a/rc3.d/S01mysql b/rc3.d/S01mysql
deleted file mode 120000 (symlink)
index 4fa2088..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/mysql
\ No newline at end of file
diff --git a/rc4.d/S01mysql b/rc4.d/S01mysql
deleted file mode 120000 (symlink)
index 4fa2088..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/mysql
\ No newline at end of file
diff --git a/rc5.d/S01mysql b/rc5.d/S01mysql
deleted file mode 120000 (symlink)
index 4fa2088..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/mysql
\ No newline at end of file
diff --git a/rc6.d/K01mysql b/rc6.d/K01mysql
deleted file mode 120000 (symlink)
index 4fa2088..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/mysql
\ No newline at end of file
diff --git a/systemd/system/multi-user.target.wants/mariadb.service b/systemd/system/multi-user.target.wants/mariadb.service
deleted file mode 120000 (symlink)
index fd9e114..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/lib/systemd/system/mariadb.service
\ No newline at end of file
diff --git a/systemd/system/mysql.service b/systemd/system/mysql.service
deleted file mode 120000 (symlink)
index fd9e114..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/lib/systemd/system/mariadb.service
\ No newline at end of file
diff --git a/systemd/system/mysqld.service b/systemd/system/mysqld.service
deleted file mode 120000 (symlink)
index fd9e114..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/lib/systemd/system/mariadb.service
\ No newline at end of file