All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] mariadb: Add pam_auth to server package.
@ 2020-02-18 21:55 Jeremy Puhlman
  0 siblings, 0 replies; only message in thread
From: Jeremy Puhlman @ 2020-02-18 21:55 UTC (permalink / raw)
  To: openembedded-devel

From: "Jeremy A. Puhlman" <jpuhlman@mvista.com>

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.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
---
 meta-oe/recipes-dbs/mysql/mariadb.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc
index 23de69dd2..6888c64e3 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -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 \
-- 
2.20.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-18 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 21:55 [meta-oe][PATCH] mariadb: Add pam_auth to server package Jeremy Puhlman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.