This bug was fixed in the package apr-util - 1.6.1-4ubuntu0.1
---
apr-util (1.6.1-4ubuntu0.1) eoan; urgency=medium
* d/p/mysql8-my_init.patch: don't call my_init() since it's not
exported anymore since MySQL 8.0.2 (LP: #1859773)
-- Andreas Hasenack Wed, 04 Mar 2020 17:00:31
Tested the 1.6.1-4ubuntu0.1 version and it worked for me. After
upgrading to 19.10 and newer MySQL, the apr_dbd_mysql.so would not load.
All configuration, permissions, apache and apr-dbd packages seemed to be
the same. Found this bug and did a one off install of the apr and apr-
mysql .debs from
Hello Andreas, or anyone else affected,
Accepted apr-util into eoan-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apr-
util/1.6.1-4ubuntu0.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
This bug was fixed in the package apr-util - 1.6.1-4ubuntu2
---
apr-util (1.6.1-4ubuntu2) focal; urgency=medium
* d/p/mysql8-my_init.patch: don't call my_init() since it's not
exported anymore since MySQL 8.0.2 (LP: #1859773)
-- Andreas Hasenack Wed, 04 Mar 2020 16:51:27
** Merge proposal linked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/apr-util/+git/apr-util/+merge/380246
** Merge proposal linked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/apr-util/+git/apr-util/+merge/380247
** Merge proposal linked:
PPA with builds for eoan and focal:
https://launchpad.net/~ahasenack/+archive/ubuntu/mysql8-my-init/
Note: focal build does not have proposed enabled.
** Changed in: apr-util (Ubuntu Focal)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
** Changed in: apr-util (Ubuntu Focal)
PPA with builds for eoan and focal:
https://launchpad.net/~ahasenack/+archive/ubuntu/mysql8-my-init/
Note: focal build does not have proposed enabled.
** Changed in: apr-util (Ubuntu Focal)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
** Changed in: apr-util (Ubuntu Focal)
** Also affects: apr-util (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: apache2 (Ubuntu)
** Changed in: apr-util (Ubuntu Eoan)
Status: New => Triaged
** Changed in: apr-util (Ubuntu Focal)
Status: New => Triaged
** Changed in: apr-util (Ubuntu Eoan)
** Also affects: apr-util (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: apache2 (Ubuntu)
** Changed in: apr-util (Ubuntu Eoan)
Status: New => Triaged
** Changed in: apr-util (Ubuntu Focal)
Status: New => Triaged
** Changed in: apr-util (Ubuntu Eoan)
The build logs show this:
/home/ubuntu/deb/apr-util/apr-util-1.6.1/dbd/apr_dbd_mysql.c:1267:5: warning:
implicit declaration of function ‘my_init’; did you mean ‘mysql_init’?
[-Wimplicit-function-declaration]
1267 | my_init();
| ^~~
| mysql_init
Checking the mysql 8
Dropping that my_init() call fixed the loading of the module for me.
I'll publish a ppa for people to test.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1859773
Title:
Apache DBD Auth not working
Dropping that my_init() call fixed the loading of the module for me.
I'll publish a ppa for people to test.
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1859773
Title:
Apache DBD Auth
The build logs show this:
/home/ubuntu/deb/apr-util/apr-util-1.6.1/dbd/apr_dbd_mysql.c:1267:5: warning:
implicit declaration of function ‘my_init’; did you mean ‘mysql_init’?
[-Wimplicit-function-declaration]
1267 | my_init();
| ^~~
| mysql_init
Checking the mysql 8
This is still present six weeks later in the 20.04 daily build.
Running this with strace seems to indicate that indeed the library is
successfully loaded:
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/apr-util-1/apr_dbd_mysql-1.so",
O_RDONLY|O_CLOEXEC) = 7
read(7,
Thanks Andreas for this report. Apparently the same problem happens in
Eoan too. The minimal steps to reproduce are:
1. start a fresh LXD container
2. apt update
3. apt install apache2 libaprutil1-dbd-mysql
4. a2enmod authn_dbd (also enables the dbd module)
5. systemctl restart apache2
6. curl
15 matches
Mail list logo