Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1317894 - vsftpd returns 226(successful) even when it fails to write data on remote nfs file system with quota
Summary: vsftpd returns 226(successful) even when it fails to write data on remote nfs...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vsftpd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Martin Sehnoutka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-15 13:02 UTC by Martin Sehnoutka
Modified: 2016-07-12 23:53 UTC (History)
11 users (show)

Fixed In Version: vsftpd-3.0.3-2.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-12 23:53:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Sehnoutka 2016-03-15 13:02:19 UTC
Description of problem:
vsftpd returns 226(successful) even when it fails to write data on remote nfs file system with quota

Version-Release number of selected component (if applicable):
vsftpd-2.2.2-11.el6_4.1


How reproducible:
Always

Steps to Reproduce:
1) Prepare nfs file system with quota on host1 (/export).
2) Set quota on /export.
3) Do mount nfs file system as follows on host2
4) Start vsftpd which can access to the mount point(/test)
   local_root=/test
5) Put a large data which exceeds quota limit to /test from a ftp client.

Actual results:
ftp client is not throwing any error even vsftpd(server) is throwing EDQUOT but not returning any error code to client.

Expected results:
client should through error.

Comment 1 Martin Sehnoutka 2016-04-14 08:39:15 UTC
Fixed in:
vsftpd-3.0.3-2.fc23

Patch:
http://pkgs.fedoraproject.org/cgit/rpms/vsftpd.git/tree/vsftpd-2.2.2-nfs-fail.patch

Comment 2 Fedora Update System 2016-04-14 08:44:55 UTC
vsftpd-3.0.3-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-61c40f55a7

Comment 3 Fedora Update System 2016-04-16 19:26:20 UTC
vsftpd-3.0.3-2.fc23 has been pushed to the Fedora 23 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-2016-61c40f55a7

Comment 4 Fedora Update System 2016-07-12 23:53:37 UTC
vsftpd-3.0.3-2.fc23 has been pushed to the Fedora 23 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.