Created attachment 583398 [details] emerge --info Hi everyone. Having issue with emerge --config dev-db/mariadb right after installing dev-db/mariadb-10.4.6 * Command: /usr/share/mariadb/scripts/mysql_install_db --basedir=/usr --loose-skip-grant-tables --loose-skip-host-cache --loose-skip-name-resolve --loose-skip-networking --loose-skip-slave-start --loose-skip-ssl --loose-skip-log-bin --loose-skip-relay-log --loose-skip-slow-query-log --loose-skip-external-locking --loose-skip-log-slave-updates --datadir=//var/lib/mysql --tmpdir=//tmp/ * ERROR: dev-db/mariadb-10.4.6::gentoo failed (config phase): * Failed to initialize mysqld. Please review /var/log/mysql/mysqld.err AND /tmp/portage/dev-db/mariadb-10.4.6/temp/mysql_install_db.log * Content of /tmp/portage/dev-db/mariadb-10.4.6/temp/mysql_install_db.log is chown: cannot access '/auth_pam_tool_dir': No such file or directory Cannot change ownership of the '/auth_pam_tool_dir' directory to the 'mysql' user. Check that you have the necessary permissions and try again. Some debugging bring to /usr/share/mariadb/scripts/mysql_install_db searches for plugins in wrong places: find_in_dirs --dir auth_pam.so '/usr/lib*/plugin' '/usr/lib*/mysql/plugin while auth_pam_tool_dir resides in /usr/lib64/mariadb/plugin/. Creating symlink and manually with chowning to mysql:mysql (ln -sv /usr/lib64/mariadb /usr/lib/mysql && chown -R mysql:mysql /usr/lib/mysql/plugi) works around this issue. emerge --info attached.
*** This bug has been marked as a duplicate of bug 689412 ***