[MDEV-13985] mariadb@.service doesn't create socket dir Created: 2017-10-03  Updated: 2019-04-10

Status: Open
Project: MariaDB Server
Component/s: Packaging, Scripts & Clients
Affects Version/s: 10.2.9
Fix Version/s: 10.2

Type: Bug Priority: Minor
Reporter: Jasper Knockaert Assignee: Vicențiu Ciorbaru
Resolution: Unresolved Votes: 0
Labels: systemd
Environment:

Ubuntu 16


Issue Links:
Relates
relates to MDEV-15502 debian: systemd, with tmpfiles instal... Open

 Description   

The systemd script for multiple server instances does not create the socket dir. Somewhere in the script it should be added:
ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld
Reported before here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865083



 Comments   
Comment by Sergey Vojtovich [ 2017-10-09 ]

Also suggested in https://github.com/MariaDB/server/pull/387/files

Comment by Daniel Black [ 2018-04-01 ]

or MDEV-15502 -tmpfiles
or MDEV-15655 - abstract sockets - ok probably too soon to consider for wide use without multiple bind addresses (like MDEV-6536)

Generated at Thu Feb 08 08:10:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.