| 1 |
# Stop DB server which was created by default |
| 2 |
# Using an unknown network namespace with bind-address |
| 3 |
Pattern "ERROR.*Server.*Unknown network namespace 'green'" found |
| 4 |
# Simulate lack of cap_sys_admin capability |
| 5 |
Pattern "ERROR.*Server.*setns\(\) failed with error 'Operation not permitted'" found |
| 6 |
Pattern "ERROR.*Server.*setns\(\) failed with error 'Operation not permitted'" found |
| 7 |
# Try specifying wildcard address for bind-address/admin-address with network namespaces |
| 8 |
Pattern "ERROR.*Server.*Network namespace not allowed for wildcard interface address" found |
| 9 |
Pattern "ERROR.*Server.*Invalid value for command line option bind-addresses: '\*/red'" found |
| 10 |
Pattern "ERROR.*Server.*Invalid value for command line option bind-addresses: '0.0.0.0/red'" found |
| 11 |
Pattern "ERROR.*Server.*Invalid value for command line option bind-addresses: '::/red'" found |
| 12 |
Pattern "ERROR.*Server.*Invalid value for command line option admin-address: '\*/red'" found |
| 13 |
Pattern "ERROR.*Server.*Invalid value for command line option admin-address: '0.0.0.0/red'" found |
| 14 |
Pattern "ERROR.*Server.*Invalid value for command line option admin-address: '::/red'" found |
| 15 |
Pattern "ERROR.*Server.*Invalid value for command line option bind-addresses: '127.0.0.1/'" found |
| 16 |
Pattern "ERROR.*Server.*Invalid value for command line option bind-addresses: '127.0.0.1/,localhost'" found |
| 17 |
Pattern "ERROR.*Server.*Invalid value for command line option admin-address: '127.0.0.1/'" found |
| 18 |
# Try specifying incorrect values to --mysqlx-bind-address |
| 19 |
# restart: --log-error=MYSQLD_LOG --mysqlx-bind-address=10.0.2.1/green |
| 20 |
Pattern "ERROR.*Server.*Unknown network namespace 'green'" found |
| 21 |
# restart: --log-error=MYSQLD_LOG --mysqlx-bind-address=*/red |
| 22 |
Pattern "ERROR.*Server.*Plugin mysqlx reported: 'Validation of value '\*/red' set to `Mysqlx_bind_address` failed: network namespace are not allowed for wildcards. Skipping this value.'" found |
| 23 |
# Starting mysqld with original parameters |
| 24 |
# restart |