[MDEV-19789] migrated-from-my.cnf-settings.conf is not removed upon package purge Created: 2019-06-17 Updated: 2023-10-05 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian |
| Affects Version/s: | 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Faustin Lammler |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Upon package installation, postinst script creates migrated-from-my.cnf-settings.conf file and puts it into /etc/systemd/system/mariadb.service.d/. This file doesn't appear to belong to any package, so it doesn't get removed upon full apt-get remove ... or purge, and thus neither is the whole /etc/systemd/system/mariadb.service.d folder. Note: I'm pretty sure previous versions are also affected, but I didn't check, thus only 10.4 in the 'Affected' field. |
| Comments |
| Comment by Faustin Lammler [ 2020-03-17 ] |
|
This is confirmed on 10.3 and 10.4 (from MariaDB repo, debian10) |
| Comment by Faustin Lammler [ 2020-03-17 ] |
|
Debian version is not affected (postinst script are different) |
| Comment by Faustin Lammler [ 2020-03-17 ] |
|
Waiting for otto 10.5 upstreaming, keeping this in my todo list... |
| Comment by Faustin Lammler [ 2023-10-05 ] |
|
I am not sure how we should proceed with this one. My understanding is that the file is still used in 10.3 and 10.4. But for 10.5 and above (https://github.com/MariaDB/server/commit/91446c822f4e1e93bb44b4ae389b8950a5745de4) it can safely be removed in sync with removing corresponding Buildbot tests (https://github.com/MariaDB/mariadb.org-tools/blob/master/buildbot/steps/deb_install_upgrade.sh#L637, https://github.com/MariaDB/mariadb.org-tools/blob/master/buildbot/maria-master.cfg#L2316 and https://github.com/MariaDB/mariadb.org-tools/blob/master/buildbot/maria-master.cfg#L4081). New buildbot will not be impacted by this since some of old buildbot tests still needs to be implemented (https://github.com/MariaDB/buildbot/blob/main/scripts/deb-upgrade.sh#L274). elenst should we wait for 10.4 EOL or what's your take on this? |