[MDEV-18398] bind-address = localhost Created: 2019-01-28  Updated: 2022-01-17

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Olaf van der Spek Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Could bind-address get a safe and sane default?

Downstreams would like to use defaults..



 Comments   
Comment by Olaf van der Spek [ 2020-02-17 ]

Any thoughts?

Comment by Olaf van der Spek [ 2020-10-27 ]

Guys?

Comment by Sergei Golubchik [ 2020-11-10 ]

The current situation is that anyone who want bind-address=localhost obviously has it in the config file.
E.g. on Debian it's done by default.
And almost everybody (I suspect) who wants to accept external connections does not have bind-address=*.

That is, changing the default from * to localhost will break almost every MariaDB setup where the server accepts connections from outside.

I don't see how we could safely do it.

Comment by Olaf van der Spek [ 2020-11-10 ]

IMO breaking this in a major version would be OK, it's not like it's hard to fix and running it like that requires more thought and expertise anyway.

If you think it's not OK an option would be to add a deprecation warning when running without bind-address set for a major release, then changing the behavior in the next major release.

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