[Bug 234413] quotactl() returns wrong error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 9 18:15:48 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234413

--- Comment #5 from Emrion <kmachine at free.fr> ---
(In reply to Mark Johnston from comment #4)
I wrote it in my first post (sorry for the double post by the way): it's Samba
which don't handle the error returned by 12.0-RELEASE (ENOENT) and flood tty0
with error messages. There is at least two workarounds to avoid these errors.

Details here:
https://forums.freebsd.org/threads/samba-quota-errors-logged.68832/

My point is that I don't think it's normal that quotactl() returns ENOENT even
if the quota system is now implemented on zfs. I and many people don't use
quota. So, in this case, what should be the correct error? Samba handles
ENOTSUP and EINVAL errors, not ENOENT.

If ENOENT is definitively the suitable error for this case (zfs with no quota
enabled), then the Samba code must be patched, for FreeBSD at least.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list