Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2019 18:15:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234413] quotactl() returns wrong error
Message-ID:  <bug-234413-227-U1PmmoUbby@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234413-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234413-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234413

--- Comment #5 from Emrion <kmachine@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 Sa=
mba
which don't handle the error returned by 12.0-RELEASE (ENOENT) and flood tt=
y0
with error messages. There is at least two workarounds to avoid these error=
s.

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 e=
ven
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 quo=
ta
enabled), then the Samba code must be patched, for FreeBSD at least.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234413-227-U1PmmoUbby>