bzr branch fails on a ssh mount of remote ext4 fs with Error 95 Operation Not Supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Unassigned | ||
2.4 |
Fix Released
|
High
|
John A Meinel | ||
2.5 |
Fix Released
|
High
|
Unassigned | ||
2.6 |
Fix Released
|
High
|
Unassigned | ||
bzr (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
I'm using a VM, running 12.10, upgraded from 12.04.1 (server). Using a bzr checkout dir on the VM and mounting that locally on the host with SSH from /home/USER/
Running the same command on the VM locally works.
Traceback (most recent call last):
File ".../bzrlib/
return the_callable(*args, **kwargs)
File ".../bzrlib/
ret = run(*run_argv)
File ".../bzrlib/
return self.run(
File ".../bzrlib/
return self._operation
File ".../bzrlib/
self.cleanups, self.func, *args, **kwargs)
File ".../bzrlib/
result = func(*args, **kwargs)
File ".../bzrlib/
source_
File ".../bzrlib/
create_
File ".../bzrlib/
self.cleanups, self.func, self, *args, **kwargs)
File ".../bzrlib/
result = func(*args, **kwargs)
File ".../bzrlib/
result_
File ".../bzrlib/
find_
File ".../bzrlib/
result = unbound(self, *args, **kwargs)
File ".../bzrlib/
find_
File ".../bzrlib/
self.__fetch()
File ".../bzrlib/
self.
File ".../bzrlib/
stream, from_format, [])
File ".../bzrlib/
hint = self.target_
File ".../bzrlib/
result = self._commit_
File ".../bzrlib/
hint = self._pack_
File ".../bzrlib/
self.
File ".../bzrlib/
want_
File ".../bzrlib/
self.
File ".../bzrlib/
self.
IOError: [Errno 95] Operation not supported
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bzr 2.5.1-0ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Mon Nov 5 11:16:01 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitec
SourcePackage: bzr
UpgradeStatus: Upgraded to precise on 2012-05-03 (186 days ago)
Related branches
- Vincent Ladeuil: Needs Fixing
- Martin Packman (community): Approve
-
Diff: 120 lines (+66/-1)3 files modifiedbzrlib/osutils.py (+14/-1)
bzrlib/tests/test_osutils.py (+44/-0)
doc/en/release-notes/bzr-2.4.txt (+8/-0)
Changed in bzr: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in bzr (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
summary: |
- bzr branch fails on a ssh mount of remove ext4 fs with Error 95 + bzr branch fails on a ssh mount of remote ext4 fs with Error 95 Operation Not Supported |
Changed in bzr: | |
status: | Confirmed → Fix Released |
Essentially, we just need a try/except IOError (OSError?) that traps ENOTSUP, as this is meant to be just advisory anyway. (We already just skip the operation if the file handle doesn't support it.)