Samba on shares with XFS and kernel 2.6.18
Volker.Lendecke at SerNet.DE
Thu Nov 18 01:34:23 MST 2010
On Wed, Nov 17, 2010 at 06:27:08PM +0100, Björn Jacke wrote:
> but doing that correct would be a bit tricky. In
> vfswrap_fs_capabilities() we also need to know that
> utimensat() doesn't work to initialize p_ts_res correctly.
> A test utimensat() call would actually be required to set
> p_ts_res right, too. POSIX does not even mention that this
> call may fail with ENOSYS.
> I would prefer that people with utimensat resulting in
> ENOSYS should get a big warning in the log files: "never
> us a glibc which is much more recent than your kernel."
> This is a well known problem of Debian systems with a way
> too old XEN kernel. Old kernels with new glibc are not
> supported by their maintainers. People should just not do
> this - the lack of utimensat() is just the most obvious
> place of brokenness, I guess there are more, more subtle
> brokennesses waiting to be discovered.
Ok, I'll let the two of you deal with it. I thought that it
might be a good idea for Samba to also work in this
situation and not fail uploads with an obscure error
message. But maybe I'm wrong here.
More information about the samba-technical