Bug 1493448 - Please build proftpd in EPEL7 (and Fedora) with sqlite support
Summary: Please build proftpd in EPEL7 (and Fedora) with sqlite support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: proftpd
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-20 08:44 UTC by marcindulak
Modified: 2017-10-11 16:19 UTC (History)
3 users (show)

Fixed In Version: proftpd-1.3.5e-3.el7
Clone Of:
Environment:
Last Closed: 2017-10-11 16:19:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fedora 26 patch to build proftpd with sqlite support (1.60 KB, patch)
2017-09-20 08:44 UTC, marcindulak
no flags Details | Diff

Description marcindulak 2017-09-20 08:44:34 UTC
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
proftpd-1.3.5e-2.el7.x86_64

# 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[13683]: 2017-09-20 08:30:30,097 dev-ftp-1 proftpd[13683]: 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[13683]: 2017-09-20 08:30:30,097 dev-ftp-1 proftpd[13683]: 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):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Update System 2017-09-20 15:05:42 UTC
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

Comment 2 Paul Howarth 2017-09-20 15:08:09 UTC
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.

Comment 3 marcindulak 2017-09-21 07:48:54 UTC
(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.
> https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-9a435fc191

The build is working for me.

Comment 4 Fedora Update System 2017-09-22 05:50:07 UTC
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

Comment 5 marcindulak 2017-10-06 06:55:42 UTC
Please push to stable

Comment 6 Paul Howarth 2017-10-11 14:05:37 UTC
I thought I'd pushed it to stable already, sorry.

Comment 7 Fedora Update System 2017-10-11 16:19:38 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.