我遇到的问题是重启mysqld的服务失效报错
[root@master mysql]# systemctl restart mysqld
Authorization not available. Check if polkit service is running or see debug message for more information. Failed to restart mysqld.service: Connection timed out See system logs and 'systemctl status mysqld.service' for details.
查看polkit状态
[root@master mysql]# systemctl status polkit
失效的,所以启动
启动polkit
/usr/lib/polkit-1/polkitd --no-debug &
再次查看polkit
systemctl status polkit