Skip to contentSkip to conversation

mariadb: Add pam_auth to server package.

PATCH New Jeremy Puhlman 1 participant 1 message Feb 18, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mariadb: Add pam_auth to server package.

From: "Jeremy A. Puhlman" <[email protected]>

When pam is enabled, the pam plugin in pulled into the server package but not the auth tool which results in following error on boot:

Starting to install database for mariadb
chown: cannot access '/usr/lib/plugin/auth_pam_tool_dir': No such file or directory
Cannot change ownership of the '/usr/lib/plugin/auth_pam_tool_dir' directory
to the 'mysql' user. Check that you have the necessary permissions and
try again.

---
 meta-oe/recipes-dbs/mysql/mariadb.inc | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -0
index 23de69dd2..6888c64e3 100644
@@ -299,6 +299,7 @@ FILES_${PN}-server = "\
     ${sbindir}/ndbd \
     ${sbindir}/ndb_mgmd \
     ${libdir}/plugin/*.so \
+    ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
     ${datadir}/mysql/ \
     ${localstatedir}/mysql/ \
     ${sysconfdir}/init.d/mysqld \
Signature · 1 line
2.20.1