Bug 443395
| Summary: | cp -p does not copy mtime to CIFS share | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Jose Plans <jplans> |
| Component: | kernel | Assignee: | Jeff Layton <jlayton> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.3 | CC: | sputhenp, staubach, steved, tao, wpilorz |
| Target Milestone: | rc | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | bzcl34nup | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-01-20 20:23:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 305191 | ||
| Bug Blocks: | 445643 | ||
|
Description
Jose Plans
2008-04-21 10:59:38 UTC
I've put an *experimental* patch for this in the RHEL5 kernels on my people page: http://people.redhat.com/jlayton/ It seems to fix the problem for me, but is still being debated upstream. It would be helpful if the customer here could test this as well and let us know whether it seems to fix the problem for them. Guenter Kukkukk pointed out that his experimental patch does not currently handle Windows NT4 correctly, and may also not handle Windows9x correctly. The patch will probably be respun, but should work for Win2k and later. I've got a new set of 7 patches that does some breaks up cifs_setattr into multiple functions and also fixes this problem. The patchset depends on another patchset that I've sent upstream but hasn't yet been committed. Once that patchset is in place, I'll post the new patchset and we can see about getting it into RHEL. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. I've gone ahead and added the patchset to fix this to the test kernels on my people page. These particular kernels are very bleeding-edge and have a fairly massive CIFS update + this set of patches. If the customer who reported this could test these kernels somewhere non-critical, then it would be helpful: http://people.redhat.com/jlayton in kernel-2.6.18-113.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 I have tried kernel 2.6.18-121.el5.jtltest.53 [i686] on a P4 machine running CentOS 5 (fully updated). cp -p seems to set time fine up to 1microsecond resolution on shares exported from NT4 workstaton, XP workstation Pro, Windows Server 2000 and 2003. ( sub-microsecond part of modification time is not copied, but who cares ...) The CIFS operations I tried today did not reveal any problems. I will do more testing on Friday, so far seems very good. Thanks! An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-0225.html |