Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1(EOL), 10.2(EOL), 10.3(EOL)
Description
The package MariaDB-server installs the file /usr/lib/tmpfiles.d/tmpfiles.conf with the following content:
d /var/lib/mysql 0755 mysql mysql -
|
The man page of systemd-tmpfiles.d says the following:
systemd-tmpfiles uses the configuration files from the above directories to describe the creation, cleaning and removal of volatile and temporary files and directories which usually reside in directories such as /run or /tmp.
/var/lib/mysql is not a temporary nor volatile directory. It should not be created using systemd-tmpfiles.d. It's also a problem if a different datadir is being used (/var/lib/mysql is created at system startup without content).
Attachments
Issue Links
- relates to
-
MDEV-17028 Fix glitches with systemd sysusers and tmpfiles
- Closed
-
MDEV-15052 Allow sysusers and tmpfiles install for non-systemd users
- Closed
-
MDEV-22893 Use systemd sysusers and tmpfiles in Debian packaging
- Open
- links to