[MDEV-18728] Maria DB truncates log file names from hostnames with "." Created: 2019-02-25  Updated: 2023-04-27

Status: Confirmed
Project: MariaDB Server
Component/s: Configuration
Affects Version/s: 10.3.13
Fix Version/s: 10.4

Type: Bug Priority: Minor
Reporter: Daniel F Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: configuration, hostname
Environment:

Ubuntu 18



 Description   

Setting a hosts name to include a "." character causes mariadb to truncate the name of certain variables at the first "."

hostname some.hostname
service mariadb restart
mysqladmin variables |grep pid
 

pid will be some.pid when one would expect some.hostname.pid, this then affects the naming of other variables (e.g. logs)



 Comments   
Comment by Daniel Black [ 2019-02-25 ]

Why is it important to use the full domainname in variables? Which ones are important and why?

Comment by Daniel F [ 2019-02-25 ]

Thanks for providing that red herring response.

Despite the fact that it breaks expected behaviour viz. "If this option is not given, mysql.server uses a default value of host_name.pid" and that if we're going with bad arguments we might as well set the value to random and then just tell people they have to justify their use-case before it's fixed, I'll humour you with a response.

log_bin_basename
log_bin_index
slow_query_log_file
general_log_file

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