Created attachment 1328321 [details]
Fedora 26 patch to build proftpd with sqlite support
Description of problem:
# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
# rpm -q proftpd
# echo "LoadModule mod_sql_sqlite.c" >> /etc/proftpd.conf
# systemctl restart proftpd
Job for proftpd.service failed because the control process exited with error code. See "systemctl status proftpd.service" and "journalctl -xe" for details.
# systemctl status -f proftpd | grep -E 'unable|error'
Sep 20 08:30:30 localhost proftpd: 2017-09-20 08:30:30,097 dev-ftp-1 proftpd: mod_dso/0.5: unable to load 'mod_sql_sqlite.c'; check to see if '/usr/libexec/proftpd/mod_sql_sqlite.la' exists
Sep 20 08:30:30 localhost proftpd: 2017-09-20 08:30:30,097 dev-ftp-1 proftpd: fatal: LoadModule: error loading module 'mod_sql_sqlite.c': No such file or directory on line 427 of '/etc/proftpd.conf'
# yum provides "*/mod_sql_sqlite.so"
No matches found
Note: proftpd-sqlite is missing also on Fedora.
I've tried to patch the proftpd.spec file, but it is still insufficient for /usr/libexec/proftpd/mod_sql_sqlite.so to be recognized by proftpd.
The patch for Fedora 26 is attached, example build https://koji.fedoraproject.org/koji/taskinfo?taskID=21980700
Version-Release number of selected component (if applicable):
Steps to Reproduce:
proftpd-1.3.5e-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-9a435fc191
Note: in order to have SQLite support, you need to install the new proftpd-sqlite package and uncomment the LoadModule lines for both mod_sql and mod_sql_sqlite in /etc/proftpd.conf.
(In reply to Fedora Update System from comment #1)
> proftpd-1.3.5e-3.el7 has been submitted as an update to Fedora EPEL 7.
The build is working for me.
proftpd-1.3.5e-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-9a435fc191
Please push to stable
I thought I'd pushed it to stable already, sorry.
proftpd-1.3.5e-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.