[MDEV-18206] mysql_plugin "Bad format in plugin configuration file." Created: 2019-01-10  Updated: 2019-01-13  Resolved: 2019-01-13

Status: Closed
Project: MariaDB Server
Component/s: Plugins
Affects Version/s: 10.3.13
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: client


 Description   

from: https://dba.stackexchange.com/questions/226722/how-to-use-mysql-plugin-utility/226737#226737

$ cat /tmp/unix_socket.ini 
auth_socket
build-mariadb-server-10.3]$ client/mysql_plugin --basedir=.  --plugin_dir=/tmp unix_socket ENABLE
ERROR: Cannot read plugin config file unix_socket. Bad format in plugin configuration file.

./client/mysql_plugin.c:load_plugin_data doesn't have a sane loop termination for end of file.



 Comments   
Comment by Elena Stepanova [ 2019-01-11 ]

danblack,
Why is it a bug? It is bad format.
As documented,

The first line should contain the name of the library object file, with no extension. The other lines list the names of the components. Each value should be on a separate line, and the # character at the start of the line indicates a comment.

Your file only contains the name of the library, no component names, hence the error.

Comment by Daniel Black [ 2019-01-13 ]

Quite right, sorry. Not a bug.

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