Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1102804 > unrolled thread
| Started by | Nick DeYarman <1nick1@gmail.com> |
|---|---|
| First post | 2022-05-11 15:50 +0200 |
| Last post | 2022-06-09 16:50 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1010846: mariadb-common: Removes directory /etc/mysql/mariadb.conf.d during uninstall preventing mysql server from starting Nick DeYarman <1nick1@gmail.com> - 2022-05-11 15:50 +0200
Bug#1010846: [debian-mysql] Bug#1010846: mariadb-common: Removes directory /etc/mysql/mariadb.conf.d during uninstall preventing mysql server from starting Faustin Lammler <faustin@fala.red> - 2022-05-23 17:40 +0200
Bug#1010846: Fwd: Re: [debian-mysql] Bug#1010846: mariadb-common: Removes directory /etc/mysql/mariadb.conf.d during uninstall preventing mysql server from starting Faustin Lammler <faustin@fala.red> - 2022-06-09 16:50 +0200
| From | Nick DeYarman <1nick1@gmail.com> |
|---|---|
| Date | 2022-05-11 15:50 +0200 |
| Subject | Bug#1010846: mariadb-common: Removes directory /etc/mysql/mariadb.conf.d during uninstall preventing mysql server from starting |
| Message-ID | <ElUSZ-eLK4-1@gated-at.bofh.it> |
Package: mariadb-common Version: 1:10.5.15-0+deb11u1 Severity: normal X-Debbugs-Cc: 1nick1@gmail.com After installing mailutils which uses mariadb-common as a dependency, I uninstalled mailutils and ran `apt autoremove` which removed mariadb-common. mysql server then ran into a fatal error as /etc/mysql/my.cnf contains the line "!includedir /etc/mysql/mariadb.conf.d/" in its default configuration. Re-making the directory /etc/mysql/mariadb.conf.d solves the issue. -- System Information: Debian Release: 11.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-14-cloud-amd64 (SMP w/2 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mariadb-common depends on: ii mysql-common [mysql-common] 8.0.29-1debian11 mariadb-common recommends no packages. mariadb-common suggests no packages.
[toc] | [next] | [standalone]
| From | Faustin Lammler <faustin@fala.red> |
|---|---|
| Date | 2022-05-23 17:40 +0200 |
| Subject | Bug#1010846: [debian-mysql] Bug#1010846: mariadb-common: Removes directory /etc/mysql/mariadb.conf.d during uninstall preventing mysql server from starting |
| Message-ID | <Eqik2-hpY8-9@gated-at.bofh.it> |
| In reply to | #1102804 |
[Multipart message — attachments visible in raw view] — view raw
Hi Nick! I can't reproduce this. Can you confirm the steps: 1/ install mailutils; 2/ install mariadb-server (or mysql-server); 3/ remove mailutils (which command did you use); 4/ autoremove Thanks! -- Faustin
[toc] | [prev] | [next] | [standalone]
| From | Faustin Lammler <faustin@fala.red> |
|---|---|
| Date | 2022-06-09 16:50 +0200 |
| Subject | Bug#1010846: Fwd: Re: [debian-mysql] Bug#1010846: mariadb-common: Removes directory /etc/mysql/mariadb.conf.d during uninstall preventing mysql server from starting |
| Message-ID | <EwrDX-3Gyt-1@gated-at.bofh.it> |
| In reply to | #1102804 |
[Multipart message — attachments visible in raw view] — view raw
Hi Nick! Nick DeYarman <1nick1@gmail.com>, 23/05/2022 – 10:30:37 (-0700): > Yes, those steps then `systemctl stop mysql` and `systemctl start > msyql` (or restart the machine). > > I just tried with a fresh cloud instance (google cloud compute > instance). The first time the issue did **not** reproduce. But I > tried a second time and the same issue reproduced (with the > mariadb.conf.d folder getting deleted). Second time was with > `systemctl stop mysql` and `systemctl start mysql` while the first was > just `systemctl restart mysql`. I can still not reproduce this. Could you paste here exact steps and commands (can you also provide as much info as you can about the instance you are running, maybe the output of `dpkg -l`, in order to understand what packages are installed). Here are my test in podman containers: | $ podman run --name sys-test --rm -d fauust/docker-systemd:debian-11 | $ podman exec -it sys-test bash | root@c0f7ab73450a:/# apt update && apt install -y mariadb-server && apt install -y mailutils | ... | root@c0f7ab73450a:/# dpkg -l | grep mariadb-common | ii mariadb-common 1:10.5.15-0+deb11u1 all MariaDB common configuration files | root@c0f7ab73450a:/# systemctl start mariadb | root@c0f7ab73450a:/# ps fax | grep mariadb | PID TTY STAT TIME COMMAND | 4355 ? Ssl 0:00 /usr/sbin/mariadbd | root@c0f7ab73450a:/# apt remove -y mailutils && apt autoremove -y | Reading package lists... Done | Building dependency tree... Done | Reading state information... Done | The following packages were automatically installed and are no longer required: | exim4-base exim4-config exim4-daemon-light gsasl-common guile-2.2-libs libevent-2.1-7 libexpat1 libfribidi0 libgc1 libgnutls-dane0 | libgsasl7 libidn11 libldap-2.4-2 libldap-common libltdl7 libmailutils7 libmpdec3 libntlm0 libpython3.9 libpython3.9-minimal | libpython3.9-stdlib libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libunbound8 mailutils-common media-types | Use 'apt autoremove' to remove them. | The following packages will be REMOVED: | mailutils | 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. | After this operation, 1000 kB disk space will be freed. | ... | root@f77cd74ff7e0:/# dpkg -l | grep mariadb-common | ii mariadb-common 1:10.5.15-0+deb11u1 all MariaDB common configuration files | root@c0f7ab73450a:/# ps fax | grep mariadb | PID TTY STAT TIME COMMAND | 4355 ? Ssl 0:00 /usr/sbin/mariadbd | root@f77cd74ff7e0:/# systemctl restart mariadb && ps fax | grep mariadb | 4651 pts/0 S+ 0:00 \_ grep mariadb | 4627 ? Ssl 0:00 /usr/sbin/mariadbd Also, please remember to always include 1010846@bugs.debian.org as recipient in your response (Cc: or To:) so that https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010846 gets updated. -- Faustin
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web