Merge lp:~rye/ubuntuone-client/ignore-in-close-write-in-dirs-stable-3-0 into lp:ubuntuone-client
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~rye/ubuntuone-client/ignore-in-close-write-in-dirs-stable-3-0 | ||||
Merge into: | lp:ubuntuone-client | ||||
Diff against target: |
65 lines (+17/-2) (has conflicts) 4 files modified
Makefile.am (+5/-0) configure.ac (+1/-1) ubuntuone/platform/filesystem_notifications/linux.py (+10/-0) windows/clientdefs.py (+1/-1) Text conflict in Makefile.am |
||||
To merge this branch: | bzr merge lp:~rye/ubuntuone-client/ignore-in-close-write-in-dirs-stable-3-0 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu One hackers | Pending | ||
Review via email: mp+106613@code.launchpad.net |
This proposal has been superseded by a proposal from 2012-05-21.
Commit message
Ignore IN_CLOSE_WRITE for directories
Description of the change
MANUAL TESTING ONLY
If you approve this, please also approve https:/
This branch adds the same types of filters as are already in place to make sure that events IN_OPEN and IN_CLOSE_NOWRITE work only on files.
eCryptFS layer used in Ubuntu for Private directories can send IN_CLOSE_WRITE on directories breaking syncdaemon and preventing the users from running Ubuntu One with ~/.Private directory.
This patch does not have an automatic test since it is possible to trigger the bug only with eCryptFS mount.
To test:
0. Before patching:
1. Create a private ecryptfs directory: ecryptfs-
2. After relogin add underlying ~/.Private folder to Ubuntu One: u1sdtool --create-
3. Notice that files do upload
4. Open this directory and put another file in it.
At this point no files will be uploaded for any Ubuntu One directory due to the unexpected event from INotify subsystem. The log will show:
exceptions.
5. Apply the patch and restart syncdaemon.
6. Add another file to the directory. Notice that the amount of entries in https:/
Unmerged revisions
- 1192. By Alejandro J. Cura
-
Tests for the eCryptFS fix
- 1191. By Roman Yepishev
-
Ignore IN_CLOSE_WRITE for directories
- 1190. By dobey
-
[release] 3.0.1
- 1189. By dobey
-
Fix the Makefile such that tests will fail properly again
- 1188. By Facundo Batista
-
Use PathLockTree to get one GetDelta at a time.
- 1187. By Brian Curtin
-
No longer check whether or not we are actually running as admin on Windows
- 1186. By Diego Sarmentero
-
- Avoid creating SyncDaemonTool if is not already running and the user wants to close it. (LP: #907479).
- 1185. By Facundo Batista
-
Use the correct comparison to decide in which queue (LP: #978903).
- 1184. By Charles Kerr
-
Fix dirpath leak in syncdaemon_
daemon_ is_folder_ enabled( ) - 1183. By dobey
-
[release] 3.0.0