Opened 14 months ago

Last modified 14 months ago

#12735 assigned Task/To do item

purge mysql from stallman

Reported by: https://id.mayfirst.org/jamie Owned by: https://id.mayfirst.org/srevilak
Priority: High Component: Tech
Keywords: stallman roundcube mysql Cc:
Sensitive: no

Description

I was just debugging a postgres problem on stallman (and old version's configuration files were still there which confused systemd) when I noticed that mysql is running.

Since roundcube is using postgres - can we purge mysql from stallman?

Change History (4)

comment:1 Changed 14 months ago by https://id.mayfirst.org/jamie

  • Owner set to https://id.mayfirst.org/srevilak
  • Status changed from new to assigned

I'm assigning to you Steve either for confirmation or to purge...

comment:2 Changed 14 months ago by https://id.mayfirst.org/srevilak

I suspect purging will be fine. Will look at it this weekend.

comment:3 Changed 14 months ago by https://id.mayfirst.org/srevilak

I examined the mysql instance on stallman, and the only interesting database I see is `horde'. I suspect this is just a leftover, as horde is no longer installed on stallman.

To be safe, I stopped and disabled mysqld on stallman, then logged into webmail.mayfirst.org.

Removed mysql-server:

100 stallman:~# apt-get remove mysql-server-5.5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libaio1 mysql-server-core-5.5 python-ply python-pycparser
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  mysql-server mysql-server-5.5
0 upgraded, 0 newly installed, 2 to remove and 5 not upgraded.
After this operation, 32.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 47253 files and directories currently installed.)
Removing mysql-server (5.5.55-0+deb8u1) ...
Removing mysql-server-5.5 (5.5.55-0+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...


0 stallman:~# apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libaio1 mysql-server-core-5.5 python-ply python-pycparser
0 upgraded, 0 newly installed, 4 to remove and 5 not upgraded.
After this operation, 20.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 47174 files and directories currently installed.)
Removing mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
Removing libaio1:amd64 (0.3.110-1) ...
Removing python-pycparser (2.10+dfsg-3) ...
Removing python-ply (3.4-5) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.19-18+deb8u9) ...

I'll wait a day or two before removing the contents of mysql's data directory.

comment:4 Changed 14 months ago by https://id.mayfirst.org/jamie

Thanks Steve!

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.