Bug 1493448

Summary: Please build proftpd in EPEL7 (and Fedora) with sqlite support
Product: [Fedora] Fedora EPEL Reporter: marcindulak <Marcin.Dulak>
Component: proftpdAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: itamar, matthias, paul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: proftpd-1.3.5e-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-11 16:19:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fedora 26 patch to build proftpd with sqlite support none

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.